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 172 of file vtkOpenGLContextDevice2DPrivate.h.


Constructor & Destructor Documentation

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

Creates a TextPropertyKey.

Definition at line 186 of file vtkOpenGLContextDevice2DPrivate.h.


Member Function Documentation

static unsigned int TextPropertyKey::GetIdFromTextProperty ( vtkTextProperty textProperty) [inline, static]

Transform a text property into an unsigned long

Definition at line 176 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 203 of file vtkOpenGLContextDevice2DPrivate.h.


Member Data Documentation

unsigned short TextPropertyKey::FontSize

Definition at line 215 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 216 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 218 of file vtkOpenGLContextDevice2DPrivate.h.

Definition at line 219 of file vtkOpenGLContextDevice2DPrivate.h.


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