Hi
Thank you for help in adding shapes to *InForeground* in *LeftDown* and
*InBackground* in *LeftUp*. I am experiencing another issue , I have
already added bitmap using *AddScaledBitmap*, now *I am trying to* *fit
bitmap on floatcanvas*, here is my code.
w, h = self.GetSize()
if w >= 790 and w <= 810: # size on startup
self.canvas.Zoom(1.2)
self.canvas.Draw()
elif w >= 1020 and w <= 1040: # size on 1024 x 768
self.canvas.Zoom(1.4)
self.canvas.Draw()
elif w >= 1270 and w<= 1300: # size on 1280 x 800
self.canvas.Zoom(1.70)
self.canvas.Draw()
but it is zooming and i don't know how i can fit bitmap like adobe
acrobat reader fit width of pages. i will be grateful for help.
Farrukh
---
This email is free from viruses and malware because avast! Antivirus protection
is active.
http://www.avast.com
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mailman.paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas