TEXTSTYLE Struct Reference

#include <mi32/elemstyl.h>

Inheritance diagram for TEXTSTYLE:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 TEXTSTYLE (const TEXTSTYLE &rhs)
 TEXTSTYLE ()
 ~TEXTSTYLE ()
bool operator!= (const TEXTSTYLE &rhs) const
TEXTSTYLEoperator= (const TEXTSTYLE &rhs)
bool operator== (const TEXTSTYLE &rhs) const
bool UsesAntialiasing () const
bool UsesTransparency (const MGD::DEVICE *pDevice=0) const

Public Attributes

COLOR BGColor
double BoldnessWidth
double ClipWidth
double EnhanceWidth
COLOR FGColor
UINT32 FontFlags
MISTRING fontname
INT32 FontNumber
FLOAT GlyphAspect
FLOAT GlyphRotation
FLOAT Height
UINT16 HeightUnits
FLOAT LineSpace
bool m_bInitialized
double MapScale
UINT16 Predefined
double ShadowAngle
double ShadowOffset
bool ShadowRelative
FLOAT Shear
UINT16 SpaceUnits
double StrokeWidth
UINT16 StructSize
UINT32 StyleFlags
double UnderlineOffset
double UnderlineWidth
double Width
UINT16 WidthUnits

Constructor & Destructor Documentation

TEXTSTYLE::TEXTSTYLE (  )  [inline]

Default constructor.

TEXTSTYLE::TEXTSTYLE ( const TEXTSTYLE rhs  )  [inline]

Copy constructor.

TEXTSTYLE::~TEXTSTYLE (  )  [inline]

Default destructor, because VC++ does not generate a default one.


Member Function Documentation

bool TEXTSTYLE::operator!= ( const TEXTSTYLE rhs  )  const [inline]

Inequality operator.

Reimplemented in GRAPHICLAYOUT::NAMEDTEXTSTYLE.

TEXTSTYLE& TEXTSTYLE::operator= ( const TEXTSTYLE rhs  )  [inline]

Assignment from TEXTSTYLE.

Reimplemented in GRAPHICLAYOUT::NAMEDTEXTSTYLE.

bool TEXTSTYLE::operator== ( const TEXTSTYLE rhs  )  const [inline]

Equality operator.

Reimplemented in GRAPHICLAYOUT::NAMEDTEXTSTYLE.

bool TEXTSTYLE::UsesAntialiasing (  )  const [inline]

Returns true if this text style will try to use transparency.

bool TEXTSTYLE::UsesTransparency ( const MGD::DEVICE pDevice = 0  )  const

Returns true if this text style will try to use transparency If a DEVICE is given, this will return true if the text uses antialising AND if the device is < 300dpi (not meaningful above 300dpi).


Member Data Documentation

Boldness width in % of glyph height (1.0 = 100%) Ignored unless FONTSTYLE_Bold is set.

Clip extended area around text in TextAddToClip().

Enhanced width in % of glyph height (1.0 = 100%).

FONTSTYLE_Xxxx or'ed together.

font name (eg: "SYSTEM.OF")

Height to width aspect ratio.

Rotation of each glyph individually.

Height of glyph in "HeightUnits".

Units for height (SCREENUNIT_...).

Line spacing in "SpaceUnits".

Set to true by constructor. Used to verify that defaults are valid and not just memset to 0.

Predefined label styles.

Drop shadow angle in radians.

Drop shadow offset in % (1.0 = 100%) Ignored unless FONTSTYLE_Shadow is set.

true if shadow angle relative to baseline angle

Italics angle (ignored unless FONTSTYE_Italic is set).

Units for line spacing (SCREENUNIT_...).

Stroke width in % of glyph height (1.0 = 100%).

Sizeof this structure. If 0, we assume old size (128) that ended with this field.

STYLEFLAG_Xxxx.

Underline Offset from baseline in % (1.0 = 100%).

Underline with in % of glyph height (1.0 = 100%).

Width of block (only if STYLEFLAG_TextHTML or STYLEFLAG_WordWrap).


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

Generated on Sun Oct 7 21:33:55 2012 for TNTsdk 2012 by  doxygen 1.6.1