Version: 2.9.4
Public Member Functions | Public Attributes
wxRichTextDrawingContext Class Reference

#include </home/zeitlin/src/wx/github/interface/wx/richtext/richtextbuffer.h>

Inheritance diagram for wxRichTextDrawingContext:

Detailed Description

A class for passing information to drawing and measuring functions.

Library:  wxRichText
Category:  Rich Text
参照:
wxRichTextBuffer, wxRichTextCtrl

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

wxRichTextBufferm_buffer

List of all members.


Constructor & Destructor Documentation

wxRichTextDrawingContext::wxRichTextDrawingContext ( wxRichTextBuffer buffer) [inline]

Pass the buffer to the context so the context can retrieve information such as virtual attributes.


Member Function Documentation

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]

Member Data Documentation

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines