[udig-devel] dpi issues
Vince Darley
vince.darley at eurobios.com
Fri Mar 28 12:48:31 PDT 2008
At 19:34 28/03/2008, Jody Garnett wrote:
>Vince Darley wrote:
>>At 10:10 27/03/2008, Vince Darley wrote:
>>>I tried that - the 'grid' and the scalebar show up. Nothing else
>>>does. There are also a large number of logged errors relating to
>>>Images, etc. I guess udig creates images for each layer and draws
>>>onto them, and then wants to copy those images onto the output
>>>Graphics2D. That approach isn't good if the output graphics2d is
>>>an svg renderer -- it would want the drawing to be done
>>>direct. I'll give up on this approach unless someone has some bright ideas.
>>Is it possible to have udig render directly to the Graphics2D
>>supplied rather than render first to images (for each layer) which
>>are then copied to the Graphics2D?
>Yes; that is what the printing system does when printing to paper.
>The udig renderer api has an entry point that takes a Graphics2D
>(rather than a raster).
Any pointers for how to do that (a name of a class or
something)? (Or suggestions on how to modify
ApplicationGIS.drawMap() to allow this possibility?)
Vince.
More information about the udig-devel
mailing list