The standard renderer for drawing bullets.
See also
wx.richtext.RichTextRenderer, wx.richtext.RichTextBuffer, wx.richtext.RichTextCtrl
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. |
wx.richtext.
RichTextStdRenderer
(RichTextRenderer)¶Possible constructors:
RichTextStdRenderer()
The standard renderer for drawing bullets.
__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.
paragraph (wx.richtext.RichTextParagraph) –
dc (wx.DC) –
attr (wx.richtext.RichTextAttr) –
rect (wx.Rect) –
bool
DrawStandardBullet
(self, paragraph, dc, attr, rect)¶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
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.
paragraph (wx.richtext.RichTextParagraph) –
dc (wx.DC) –
attr (wx.richtext.RichTextAttr) –
rect (wx.Rect) –
text (string) –
bool
EnumerateStandardBulletNames
(self, bulletNames)¶Enumerate the standard bullet names currently supported.
This function should be overridden.
bulletNames (list of strings) –
bool
MeasureBullet
(self, paragraph, dc, attr, sz)¶Measure the bullet.
paragraph (wx.richtext.RichTextParagraph) –
dc (wx.DC) –
attr (wx.richtext.RichTextAttr) –
sz (wx.Size) –
bool