#include </home/zeitlin/src/wx/github/interface/wx/richtext/richtextbuffer.h>
A class for passing information to drawing and measuring functions.
Public Member Functions | |
wxRichTextDrawingContext (wxRichTextBuffer *buffer) | |
Pass the buffer to the context so the context can retrieve information such as virtual attributes. | |
void | Init () |
bool | HasVirtualAttributes (wxRichTextObject *obj) const |
Does this object have virtual attributes? Virtual attributes can be provided for visual cues without affecting the actual styling. | |
wxRichTextAttr | GetVirtualAttributes (wxRichTextObject *obj) const |
Returns the virtual attributes for this object. | |
bool | ApplyVirtualAttributes (wxRichTextAttr &attr, wxRichTextObject *obj) const |
Applies any virtual attributes relevant to this object. | |
Public Attributes | |
wxRichTextBuffer * | m_buffer |
wxRichTextDrawingContext::wxRichTextDrawingContext | ( | wxRichTextBuffer * | buffer | ) | [inline] |
Pass the buffer to the context so the context can retrieve information such as virtual attributes.
bool wxRichTextDrawingContext::ApplyVirtualAttributes | ( | wxRichTextAttr & | attr, |
wxRichTextObject * | obj | ||
) | const |
Applies any virtual attributes relevant to this object.
wxRichTextAttr wxRichTextDrawingContext::GetVirtualAttributes | ( | wxRichTextObject * | obj | ) | const |
Returns the virtual attributes for this object.
Virtual attributes can be provided for visual cues without affecting the actual styling.
bool wxRichTextDrawingContext::HasVirtualAttributes | ( | wxRichTextObject * | obj | ) | const |
Does this object have virtual attributes? Virtual attributes can be provided for visual cues without affecting the actual styling.
void wxRichTextDrawingContext::Init | ( | ) | [inline] |