The documentation includes examples of how to use the gt-render module 
directly; including how to use it to write out a PNG file.

-http://docs.geotools.org/latest/userguide/library/render/gtrenderer.html#image

I have used the geotools rendering engine to draw under SWT before; the best 
technique is to render into a buffered image with the ARGB byte order; and then 
hijack that as the contents of your SWT Image (which you can then draw into the 
correct location).

The existing gt-swt module should have similar code.

Can I ask if you will be contributing this as a patch to gt-swt module? This 
email list is focused on improving the library.
-- 
Jody Garnett


On Tuesday, 19 June 2012 at 12:25 PM, ChenFred wrote:

> Hi there,
>  
> I am new to GEOTOOLS library. i am asked to add an overview to gt-swt 
> package. The overview is very similar to the Google Maps' overview, which is 
> located in the bottom left corner. I am really appreciate if anybody can tell 
> me how I can start this task with. Is there any material/documents describe 
> this topic? It will be great if someone can provide some sample code, or even 
> some pseudo code.
>  
> thank you
> FredChen
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> 
> _______________________________________________
> GeoTools-Devel mailing list
> [email protected] 
> (mailto:[email protected])
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
> 
> 


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to