This class isolates some common drawing functionality.
wx.richtext.RichTextStdRenderer
Constructor. |
|
Draws a bitmap bullet, where the bullet bitmap is specified by the value of GetBulletName. |
|
Draws a standard bullet, as specified by the value of GetBulletName. |
|
Draws a bullet that can be described by text, such as numbered or symbol bullets. |
|
Enumerate the standard bullet names currently supported. |
|
Measure the bullet. |
Possible constructors:
RichTextRenderer() -> None
This class isolates some common drawing functionality.
Constructor.
None
Draws a bitmap bullet, where the bullet bitmap is specified by the value of GetBulletName.
This function should be overridden.
paragraph (wx.richtext.RichTextParagraph)
dc (wx.DC)
attr (wx.richtext.RichTextAttr)
rect (wx.Rect)
bool
Draws a standard bullet, as specified by the value of GetBulletName.
This function should be overridden.
paragraph (wx.richtext.RichTextParagraph)
dc (wx.DC)
attr (wx.richtext.RichTextAttr)
rect (wx.Rect)
bool
Draws a bullet that can be described by text, such as numbered or symbol bullets.
This function should be overridden.
paragraph (wx.richtext.RichTextParagraph)
dc (wx.DC)
attr (wx.richtext.RichTextAttr)
rect (wx.Rect)
text (string)
bool
Enumerate the standard bullet names currently supported.
This function should be overridden.
bulletNames (list of strings)
bool
Measure the bullet.
paragraph (wx.richtext.RichTextParagraph)
dc (wx.DC)
attr (wx.richtext.RichTextAttr)
sz (wx.Size)
bool