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.
wx.lib.fancytext.DCRenderer
, wx.lib.fancytext.SizeRenderer
Initialize self. See help(type(self)) for accurate signature. |
|
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)¶