Hi,

i've commited an enhancement for the AbstractCursorTool. Now you can XOR 
paint the visual indicator as an Image too. Previously it was only a 
Shape possible. A Shape have some disadvantages. You cannot fill and 
outline at same time or more complex indicators are not possible.
First you can see this in action in the SuperZoomPanTool if you use the 
mousewheel for do zooming. This is the 3rd zoom/pantool in the toolbar. 
It is the lense with hand icon.
The main reason for this change is the SkyPrinterplugin. In the same way 
i plan to show the page, the page borders and other usefull information 
for selecting the area to print.

The patch breaks no compatibility. There are only additional methods 
added. But this is not really nice for the getImage() and 
getImagePosition(). Normally they have to be abstract. But this is 
impossible. Please see the comment for the getImage() method.

regards

Matthias

-- 

www.openjump.de


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to