[mapserver-dev] 3.7 updates

Frank Warmerdam warmerdam at pobox.com
Wed Aug 14 10:09:00 EDT 2002


Folks,

I have made a pass on MapServer with Steve color overhaul, and made the
following changes:

  o map.h:L Added MS_INIT_COLOR() and RESOLVE_PEN_GD() macros.  The
    MS_INIT_COLOR() macro can be used to initialize a colorObj to a given
    color (including setting the pen to MS_PEN_UNSET).  The RESOLVE_PEN_GD()
    macro will ensure that the pen is set properly for GD usage.  Basically,
    it calls msImagesetPenGD() if the pen is currently unset.

  o mapresample.c: fixes for colorObj offsite (untested).

  o mapgd.c: fixed use of background color in GD 2.x case.

  o maplegend.c, mapscale.c: Removed extra argument to msAddLabel() call.

  o mapraster.c (drawGDAL()): fixes for colorObj in class styles and for
    offsite.  Changes have not been well tested.

I looked at updating mapogr.cpp but it seemed like a big job so I bailed.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent





More information about the mapserver-dev mailing list