[GRASS-dev] ps driver and polygon fill

Glynn,

Trying to use d.vect.chart with the PS driver, I get circles which are filled by lines. See [1].

I remember there was some discussion about this before, but is this inevitable in the current state of the display system and the PS driver ?

Moritz

[1] http://geog-pc40.ulb.ac.be/grass/misc/NOx.eps

Moritz Lennert wrote:

Trying to use d.vect.chart with the PS driver, I get circles which are
filled by lines. See [1].

d.vect.chart? Or d.vect.thematic?

I remember there was some discussion about this before, but is this
inevitable in the current state of the display system and the PS driver ?

No. It's perfectly possible to draw filled areas as filled areas. But
if a module decides to do its own filling by telling the driver to
draw lots of lines, then you get lots of lines. The display drivers
can't "undo" any rasterisation performed by the module.

IOW, it's a problem with the modules, or with specific libraries which
they use, not with the display system.

--
Glynn Clements <glynn@gclements.plus.com>

On Fri, February 8, 2008 22:59, Glynn Clements wrote:

Moritz Lennert wrote:

Trying to use d.vect.chart with the PS driver, I get circles which are
filled by lines. See [1].

d.vect.chart? Or d.vect.thematic?

d.vect.chart

I remember there was some discussion about this before, but is this
inevitable in the current state of the display system and the PS driver
?

No. It's perfectly possible to draw filled areas as filled areas. But
if a module decides to do its own filling by telling the driver to
draw lots of lines, then you get lots of lines. The display drivers
can't "undo" any rasterisation performed by the module.

IOW, it's a problem with the modules, or with specific libraries which
they use, not with the display system.

Ok, then I´ll look into the code to see what´s going on.

Moritz

--
Glynn Clements <glynn@gclements.plus.com>