wx.lib.floatcanvas.FCObjects.ScaledBitmap2¶Draws a scaled bitmap
An alternative scaled bitmap that only scaled the required amount of the main bitmap when zoomed in: EXPERIMENTAL!
Known Superclasses¶wx.lib.floatcanvas.FCObjects.DrawObject, wx.lib.floatcanvas.FCObjects.TextObjectMixin
Methods Summary¶__init__ |
Default class constructor. |
CalcBoundingBox |
Calculate the bounding box. |
WorldToBitmap |
Computes the bitmap coords from World coords. |
Class API¶ScaledBitmap2(TextObjectMixin, DrawObject)¶Draws a scaled bitmap
An alternative scaled bitmap that only scaled the required amount of the main bitmap when zoomed in: EXPERIMENTAL!
__init__(self, Bitmap, XY, Height, Width=None, Position = 'tl', InForeground = False)¶Default class constructor.
| Parameters: |
|
|---|
CalcBoundingBox(self)¶Calculate the bounding box.
WorldToBitmap(self, Pw)¶Computes the bitmap coords from World coords.