Initialise a wxWindows renderer instance.
(self, bitmap, dpi)
| 127 | } |
| 128 | |
| 129 | def __init__(self, bitmap, dpi): |
| 130 | """Initialise a wxWindows renderer instance.""" |
| 131 | super().__init__() |
| 132 | _log.debug("%s - __init__()", type(self)) |
| 133 | self.width = bitmap.GetWidth() |
| 134 | self.height = bitmap.GetHeight() |
| 135 | self.bitmap = bitmap |
| 136 | self.fontd = {} |
| 137 | self.dpi = dpi |
| 138 | self.gc = None |
| 139 | |
| 140 | def flipy(self): |
| 141 | # docstring inherited |