VTK
Public Attributes
TextPropertyKey Struct Reference

#include <vtkOpenGLContextDevice2DPrivate.h>

Collaboration diagram for TextPropertyKey:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TextPropertyKey (vtkTextProperty *textProperty, const vtkStdString &text)
bool operator== (const TextPropertyKey &other) const

Static Public Member Functions

static unsigned int GetIdFromTextProperty (vtkTextProperty *textProperty)

Public Attributes

unsigned short FontSize
vtkColor4ub Color
unsigned int TextPropertyId
vtkStdString Text

Detailed Description

Definition at line 166 of file vtkOpenGLContextDevice2DPrivate.h.


Constructor & Destructor Documentation

TextPropertyKey::TextPropertyKey ( vtkTextProperty textProperty,
const vtkStdString text 
)
inline

Creates a TextPropertyKey.

Definition at line 180 of file vtkOpenGLContextDevice2DPrivate.h.


Member Function Documentation

static unsigned int TextPropertyKey::GetIdFromTextProperty ( vtkTextProperty textProperty)
inlinestatic

Transform a text property into an unsigned long

Definition at line 170 of file vtkOpenGLContextDevice2DPrivate.h.

bool TextPropertyKey::operator== ( const TextPropertyKey other) const
inline

Compares two TextPropertyKeys with each other. Returns true if they are identical: same text and text property

Definition at line 197 of file vtkOpenGLContextDevice2DPrivate.h.


Member Data Documentation

unsigned short TextPropertyKey::FontSize

Definition at line 209 of file vtkOpenGLContextDevice2DPrivate.h.

vtkColor4ub TextPropertyKey::Color

Definition at line 210 of file vtkOpenGLContextDevice2DPrivate.h.

unsigned int TextPropertyKey::TextPropertyId

Definition at line 212 of file vtkOpenGLContextDevice2DPrivate.h.

vtkStdString TextPropertyKey::Text

Definition at line 213 of file vtkOpenGLContextDevice2DPrivate.h.


The documentation for this struct was generated from the following file: