Re: [GRASS-dev] discussion: replacing ps.map
<tlaronde <at> polynum.com>
2007-04-02 09:21:31 GMT
On Sat, Mar 31, 2007 at 12:05:42AM +0100, Glynn Clements wrote:
>
> tlaronde <at> polynum.com wrote:
>
> > My remark about the fact that the DRAWLIB (mistakenly called RASTERLIB)
>
> Not really. It was designed for raster graphics devices, and in many
> regards is only suitable for them.
>
> The name reflects the fact that it targets raster devices, not that it
> draws raster images.
>
> In that sense, PostScript is also a raster graphics system; you can't
> fully implement it on e.g. a plotter.
Yes and no. PostScript is a vector language, as is METAFONT and so on.
The fact that, generally, the final step is to convert these vectorial
descriptions in raster is an implementation detail.
The man pages for the DRAWLIB (RASTERLIB) mentions:
A!ll graphics standards in industry are aimed at CAD-CAM vector
applications. GRASS, being raster based in its primary data
format, requires the ability to work directly with a device's
pixles. This library provides that capability while interfacing
itself to commercially available vector graphics.
So the "raster" was more taken from the source (the original GRASS,
before the development of the vector) than for the target.
(Continue reading)