phoenix_title 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 Class Hierarchy

Inheritance diagram for class Renderer:

sub_classes Known Subclasses

wx.lib.fancytext.DCRenderer, wx.lib.fancytext.SizeRenderer


method_summary Methods Summary

__init__

Initialize self. See help(type(self)) for accurate signature.

characterData

end

end_font

end_sub

end_sup

endElement

getCurrentColor

getCurrentFont

getCurrentPen

getY

renderCharacterData

setY

start

start_FancyText

start_font

start_sub

start_sup

startElement

updateDims


property_summary Properties Summary

y


api Class API

class 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.


Methods

__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)

Properties

y

See setY , getY