wx.lib.fancytext.Renderer¶Class for rendering XML marked up text.
See the module docstring for a description of the markup.
This class must be subclassed and the methods the methods that do the drawing overridden for a particular output device.
Class Hierarchy¶
Inheritance diagram for class Renderer:

Known Subclasses¶wx.lib.fancytext.DCRenderer, wx.lib.fancytext.SizeRenderer
Methods Summary¶Initialize self. See help(type(self)) for accurate signature. |
|
Properties Summary¶
Class API¶Renderer¶Class for rendering XML marked up text.
See the module docstring for a description of the markup.
This class must be subclassed and the methods the methods that do the drawing overridden for a particular output device.
__init__(self, dc=None, x=0, y=None)¶Initialize self. See help(type(self)) for accurate signature.
characterData(self, data)¶end(self)¶end_font(self)¶end_sub(self)¶end_sup(self)¶endElement(self, name)¶getCurrentColor(self)¶getCurrentFont(self)¶getCurrentPen(self)¶getY(self)¶renderCharacterData(self, data, x, y)¶setY(self, value)¶start(self, attrs, code=chr(alpha+i))¶start_FancyText(self, attrs)¶start_font(self, attrs)¶start_sub(self, attrs)¶start_sup(self, attrs)¶startElement(self, name, attrs)¶updateDims(self, width, height, descent, externalLeading)¶