Draws a scaled bitmap
An alternative scaled bitmap that only scaled the required amount of the main bitmap when zoomed in: EXPERIMENTAL!
wx.lib.floatcanvas.FCObjects.DrawObject
, wx.lib.floatcanvas.FCObjects.TextObjectMixin
__init__ |
Default class constructor. |
CalcBoundingBox |
Calculate the bounding box. |
WorldToBitmap |
Computes the bitmap coords from World coords. |
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.