Phoenix Logo

phoenix_title wx.richtext.RichTextRenderer

This class isolates some common drawing functionality.


class_hierarchy Class Hierarchy

Inheritance diagram for class RichTextRenderer:


method_summary Methods Summary

__init__ Constructor.
DrawBitmapBullet Draws a bitmap bullet, where the bullet bitmap is specified by the value of GetBulletName.
DrawStandardBullet Draws a standard bullet, as specified by the value of GetBulletName.
DrawTextBullet Draws a bullet that can be described by text, such as numbered or symbol bullets.
EnumerateStandardBulletNames Enumerate the standard bullet names currently supported.

api Class API



class wx.richtext.RichTextRenderer(Object)

Possible constructors:

RichTextRenderer()

This class isolates some common drawing functionality.


Methods



__init__(self)

Constructor.



DrawBitmapBullet(self, paragraph, dc, attr, rect)

Draws a bitmap bullet, where the bullet bitmap is specified by the value of GetBulletName.

This function should be overridden.

Parameters:
Return type:

bool



DrawStandardBullet(self, paragraph, dc, attr, rect)

Draws a standard bullet, as specified by the value of GetBulletName.

This function should be overridden.

Parameters:
Return type:

bool



DrawTextBullet(self, paragraph, dc, attr, rect, text)

Draws a bullet that can be described by text, such as numbered or symbol bullets.

This function should be overridden.

Parameters:
Return type:

bool



EnumerateStandardBulletNames(self, bulletNames)

Enumerate the standard bullet names currently supported.

This function should be overridden.

Parameters:bulletNames (list of strings) –
Return type:bool