[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20040402: gf versus gif



Mark,

The gif driver doesn't provide a method for the fill pattern.

The xw (and gf, png etc devices that use the xw routines) device 
provides a method for specifying the fill pattern in
$GEMPAK/source/driver/active/xw/hsfill.f
which then sets the appropriate fill bitmap pattern information
used in the fill renderer. The bitmap is rendered using the X library 
calls.

The gif driver ( based on gd from boutell.com ) does not provide a fill 
pattern renderer, and thus stubs to the generic 
$GEMPAK/source/driver/active/gn/hsfill.f.
The only valid fill for gif is a solid fill.

Steve Chiswell
Unidata User Support






>From: "Mark J. Laufersweiler" <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200404022352.i32NqACT026800

>
>Steve,
>
>I have been working on cleaning up my pqact etc and starting working
>on producing a watch/warn graphic for the department. Not wanting to
>start Xvfb on my linux machine, I used for the device gif rather
>than gf.
>
>When ploting the SVRL variable I get filled counties rather than
>hatched. Is there a way to get hatched fills for gif as a device?
>
>Status: gempak m on redhat 7.3
>
>Thanks.
>
>mjl
>
>examples:
>
>device = gf
>
>http://weather.ou.edu/~laufers/gf.gif
>
>device = gif
>
>http://weather.ou.edu/~laufers/gif.gif
>
>
>-- 
>--------------------------------------------------------------------
>  Dr. Mark J. Laufersweiler     |
>  School of Meteorology         |     Those who give up essential
>  University of Oklahoma        |   liberties for temporary safety
>  address@hidden                | deserve neither liberty nor safety.
>  (405) 325-6032                |             - Benjamin Franklin
>  (405) 325-7689  (fax)         |
>
--
NOTE: All email exchanges with Unidata User Support are recorded in the
Unidata inquiry tracking system and then made publically available
through the web.  If you do not want to have your interactions made
available in this way, you must let us know in each email you send to us.