Table Of Contents

Previous topic

DCRenderer

Next topic

SizeRenderer

This Page

phoenix_title 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

Inheritance diagram for class Renderer

Inheritance diagram of Renderer


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)


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