Hi,
I would like to zoom to a bounding box with the following bounds:
min x = 1079
min y = 878
max x = 1244
max y = 2956
This is how I'm doing it in floatcanvas:

bounding_box = BBox.asBBox([[minX,minY],[maxX,maxY]])
navCanvas.ZoomToBB(bounding_box)

Is this correct? For some reason, it doesn't scale the height (2078) and 
width (165) correctly. it seems that the box's height and width have to 
be the same or it scales to whichever is largest. Is there a way to 
scale it accordingly so that the height and width aren't scaled like this?
Thanks for any help.
Cheers
Astan
_______________________________________________
FloatCanvas mailing list
[email protected]
http://paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to