Hi Alessandro--since VertexStyles only paint visible vertices, how about
instead writing a general Style--those get painted when part of the feature
is in view. In fact, you could simply make a Style that calls your
VertexStyle for all vertices, visible or not.

(Another alternative is to write a Renderer from scratch (for example, the
ScaleBarRenderer), but that's probably unnecessarily more difficult.)

--
Jon Aquino   (Victoria BC Canada)
http://jonathanaquino.com       



> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Alessandro Anselmi
> Sent: Sunday, July 23, 2006 5:42 AM
> To: jump-pilot-devel@lists.sourceforge.net
> Subject: [JPP-Devel] method paint
> 
> 
> Hi list
> 
> I have a problem. I've just implemented a class that extends 
> VertexStyle (a 
> particular vertex style that paint three circular concentric 
> crowns for every 
> point in the layer)
> My problem is that I need the circular crowns to be painted 
> even if the point 
> is not in the layer view panel (because they define very big 
> areas, and i 
> need them to be visible anyway)
> Can you help me?
> 
> Thanks
> 
> Alessandro
> 
> --------------------------------------------------------------
> -----------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the 
> chance to share your opinions on IT & business topics through 
> brief surveys -- and earn cash 
> http://www.techsay.com/default.php?page=join.php&p=sourceforge
&CID=DEVDEV
_______________________________________________
Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to