Murl::Graph::FlatTextTexture Class Reference

The FlatTextTexture node class. More...

#include "murl_graph_flat_text_texture.h"

Inheritance diagram for Murl::Graph::FlatTextTexture:

Additional Inherited Members

- Public Types inherited from Murl::IFactoryObject< INode >
typedef Array< const ClassInfo *> ClassInfoArray
 Definition of an array of ClassInfo objects. More...
 
- Public Member Functions inherited from Murl::IFactoryObject< INode >
virtual ~IFactoryObject ()
 The destructor. More...
 
virtual const ClassInfo * GetObjectClassInfo () const=0
 Get the object instance's class info, if present. More...
 
virtual void ResetObjectProperties ()=0
 Reset the object instance's properties to their default values.
 
- Static Public Member Functions inherited from Murl::IFactoryObject< INode >
static const PropertyInfoGetPropertyInfo ()
 Get the class' property info struct. More...
 
static const AttributeInfoGetAttributeInfo ()
 Get the class' attribute info struct. More...
 
static void ResetProperties (IFactoryObject< INode > *object)
 Reset an object instance's properties to their default values. More...
 

Detailed Description

The FlatTextTexture node class.

XML Elements

XML Graph Node Tag:

<FlatTextTexture>

XML Graph Node Attributes:

fontResourceId="" [String]

The ID of the font resource to use, containing either bitmap rectangles or outlines. See Murl::Graph::IText::GetFontResourceTarget().

systemFontName="" [String]

The name of the system font to use. See Murl::Graph::IText::SetSystemFontName().

fontType="UNDEFINED" [IEnums::FontType]

The font type. See Murl::Graph::IText::SetFontType().

fontSize="10.0" [Real]

The system or outline font's size. See Murl::Graph::IText::SetFontSize().

textColor="1.0f,1.0f,1.0f,1.0f" [Color]

The system or outline font text color. See Murl::Graph::IText::SetTextColor().

backgroundColor="0.0f,0.0f,0.0f,0.0f" [Color]

The system or outline font background color. See Murl::Graph::IText::SetBackgroundColor().

spacing="0.0" [Real]

The character spacing value. See Murl::Graph::IText::SetSpacing().

leading="0.0" [Real]

The line leading value. See Murl::Graph::IText::SetLeading().

embolding="0.0" [Real]

The outline embolding strength. See Murl::Graph::IText::SetEmbolding().

blur="0.0" [Real]

The blur strength. See Murl::Graph::IText::SetBlur().

spaceWidth="1.0" [Real]

The horizontal scale factor for the space character. See Murl::Graph::IText::SetSpaceWidthFactor().

digitWidth="1.0" [Real]

The horizontal scale factor for digit characters. See Murl::Graph::IText::SetDigitWidthFactor().

useSameDigitWidth="false" [Bool]

Enable/disable unified digit width. See Murl::Graph::IText::SetSameDigitWidthEnabled().

enableWordWrapping="false" [Bool]

Enable/disable word wrapping. See Murl::Graph::IText::SetWordWrappingEnabled().

parentTextId="" [String]

The optional ID of a parent text node used as a text source. See Murl::Graph::IText::GetParentTextNodeTarget().

outputTextureId="" [String]

The optional ID of a texture node used for rendering. See Murl::Graph::IText::GetOutputTextureNodeTarget().

textResourceId="" [String]

The optional resource ID of the resource text object to use. See Murl::Graph::IText::GetTextResourceTarget().

text="" [String]

If no text resource ID is given, this directly sets the text to display. See Murl::Graph::IText::SetText().

textAlignmentX="CENTER" [IEnums::TextAlignmentX]

The horizontal text alignment. See Murl::Graph::IText::SetTextAlignmentX().

textAlignmentY="CENTER" [IEnums::TextAlignmentY]

The vertical text alignment. See Murl::Graph::IText::SetTextAlignmentY().

textPosX="0.0" [Real]

The start X position where to render the text. See Murl::Graph::ITextTexture::SetTextPosition().

textPosY="0.0" [Real]

The start Y position where to render the text. See Murl::Graph::ITextTexture::SetTextPosition().

textSizeX="0.0" [Real]

The horizontal size of the container rectangle. See Murl::Graph::ITextTexture::SetTextSize().

textSizeY="0.0" [Real]

The vertical size of the container rectangle. See Murl::Graph::ITextTexture::SetTextSize().


The documentation for this class was generated from the following file:
  • murl_graph_flat_text_texture.h


Copyright © 2011-2018 Spraylight GmbH.