def __init__(self, bitmap, dpi):
DEBUG_MSG("<STR_LIT>", <NUM_LIT:1>, self)<EOL>if wx.VERSION_STRING < "<STR_LIT>":<EOL><INDENT>raise RuntimeError("<STR_LIT>")<EOL><DEDENT>self.width  = bitmap.GetWidth()<EOL>self.height = bitmap.GetHeight()<EOL>self.bitmap = bitmap<EOL>self.fontd = {}<EOL>self.dpi = dpi<EOL>self.gc = None<EOL>
Initialise a wxWindows renderer instance.