wx.richtext.RichTextRenderer¶This class isolates some common drawing functionality.
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. |
Class API¶wx.richtext.RichTextRenderer(Object)¶Possible constructors:
RichTextRenderer()
This class isolates some common drawing functionality.
__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 |