[GRASS-dev] ps.map: raster always under vector map?
    Markus Neteler 
    neteler at itc.it
       
    Mon May  7 11:00:43 EDT 2007
    
    
  
Glynn Clements wrote on 05/07/2007 04:15 PM:
> Glynn Clements wrote:
>
>   
>> It would be fairly straightforward to copy paper.h into the PS driver,
>> and allow e.g. GRASS_PAPER=a4 to override GRASS_{WIDTH,HEIGHT}, as
>> well as adding margins. Supporting rotation (i.e. landscape) would
>> also be straightforward.
>>
>> I'll come up with a draft implementation today.
>>     
>
> Done. The size/margins can be set via GRASS_PAPER, while
> GRASS_LANDSCAPE=TRUE will rotate the output.
>   
Cool!
Would it make sense to move the paper definitions from
 lib/psdriver/Graph_set.c
 ps/ps.map/paper.h (contains more definitions)
to
 include/pspaper.h
?
Markus
------------------
ITC -> dall'1 marzo 2007 Fondazione Bruno Kessler
ITC -> since 1 March 2007 Fondazione Bruno Kessler
------------------
    
    
More information about the grass-dev
mailing list