Sam wrote:
> Thanks Vitor and Chris for your feedback.
> Chris, the grid idea worked nicely once I had a play with the placement 
> coordinates.  I noticed a slight bug in _Draw "XY = (w - XY[0] - 
> self.Height,  XY[1])", so changed Height to Width (I'm using the tr 
> position).

oops! that's what I get for testing with a square bitmap!

Thanks for the report -- I've put that demo in SVN, so I"ll fix it there.


>  Thanks heaps for that code though, did exactly what I 
> wanted.  Only strange issue is when panning, the image will move also 
> for a certain time before redrawing in the correct place, is this a 
> drawing timing issue?

It's because when you pan, you move the buffer bitmap. It doesn't 
actually draw right away, 'cause often the drawing can't keep up with 
the mouse movement. Yes, it does look a bit weird in this case, I hope 
it's OK.

-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]
_______________________________________________
FloatCanvas mailing list
[email protected]
http://paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to