TEXTSTYLE Struct Reference

#include <elemstyl.h>

Inheritance diagram for TEXTSTYLE:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 TEXTSTYLE ()
 TEXTSTYLE (const TEXTSTYLE &rhs)
TEXTSTYLEoperator= (const TEXTSTYLE &rhs)
bool operator== (const TEXTSTYLE &rhs) const
bool operator!= (const TEXTSTYLE &rhs) const
bool UsesTransparency (const MGD::CONTEXT *gc=0) const

Public Attributes

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

Constructor & Destructor Documentation

TEXTSTYLE::TEXTSTYLE  )  [inline]
 

Default constructor.

Definition at line 530 of file elemstyl.h.

TEXTSTYLE::TEXTSTYLE const TEXTSTYLE rhs  )  [inline]
 

Copy constructor.

Definition at line 539 of file elemstyl.h.


Member Function Documentation

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

Inequality operator.

Definition at line 564 of file elemstyl.h.

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

Assignment from TEXTSTYLE.

Definition at line 546 of file elemstyl.h.

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

Equality operator.

Definition at line 557 of file elemstyl.h.

bool TEXTSTYLE::UsesTransparency const MGD::CONTEXT gc = 0  )  const
 

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


Member Data Documentation

COLOR TEXTSTYLE::BGColor
 

Definition at line 503 of file elemstyl.h.

double TEXTSTYLE::BoldnessWidth
 

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

Definition at line 519 of file elemstyl.h.

double TEXTSTYLE::ClipWidth
 

Clip extended area around text in TextAddToClip().

Definition at line 524 of file elemstyl.h.

double TEXTSTYLE::EnhanceWidth
 

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

Definition at line 518 of file elemstyl.h.

COLOR TEXTSTYLE::FGColor
 

Definition at line 502 of file elemstyl.h.

UINT32 TEXTSTYLE::FontFlags
 

FONTSTYLE_Xxxx or'ed together.

Definition at line 509 of file elemstyl.h.

TEXTFONTNAME TEXTSTYLE::fontname
 

font name (eg: "SYSTEM.OF")

Definition at line 511 of file elemstyl.h.

INT32 TEXTSTYLE::FontNumber
 

Definition at line 501 of file elemstyl.h.

FLOAT TEXTSTYLE::GlyphAspect
 

Height to width aspect ratio.

Definition at line 505 of file elemstyl.h.

FLOAT TEXTSTYLE::GlyphRotation
 

Rotation of each glyph individually.

Definition at line 504 of file elemstyl.h.

FLOAT TEXTSTYLE::Height
 

Height of glyph in "HeightUnits".

Definition at line 507 of file elemstyl.h.

UINT16 TEXTSTYLE::HeightUnits
 

Units for height (SCREENUNIT_...).

Definition at line 512 of file elemstyl.h.

FLOAT TEXTSTYLE::LineSpace
 

Line spacing in "SpaceUnits".

Definition at line 508 of file elemstyl.h.

bool TEXTSTYLE::m_bInitialized
 

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

Definition at line 526 of file elemstyl.h.

double TEXTSTYLE::MapScale
 

Definition at line 510 of file elemstyl.h.

UINT16 TEXTSTYLE::Predefined
 

Predefined label styles.

Definition at line 514 of file elemstyl.h.

double TEXTSTYLE::ShadowAngle
 

Drop shadow angle in radians.

Definition at line 523 of file elemstyl.h.

double TEXTSTYLE::ShadowOffset
 

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

Definition at line 522 of file elemstyl.h.

bool TEXTSTYLE::ShadowRelative
 

true if shadow angle relative to baseline angle

Definition at line 525 of file elemstyl.h.

FLOAT TEXTSTYLE::Shear
 

Italics angle (ignored unless FONTSTYE_Italic is set).

Definition at line 506 of file elemstyl.h.

UINT16 TEXTSTYLE::SpaceUnits
 

Units for line spacing (SCREENUNIT_...).

Definition at line 513 of file elemstyl.h.

double TEXTSTYLE::StrokeWidth
 

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

Definition at line 517 of file elemstyl.h.

UINT16 TEXTSTYLE::StructSize
 

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

Definition at line 515 of file elemstyl.h.

UINT32 TEXTSTYLE::StyleFlags
 

STYLEFLAG_Xxxx.

Definition at line 500 of file elemstyl.h.

double TEXTSTYLE::UnderlineOffset
 

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

Definition at line 521 of file elemstyl.h.

double TEXTSTYLE::UnderlineWidth
 

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

Definition at line 520 of file elemstyl.h.

double TEXTSTYLE::Width
 

Width of block (only if STYLEFLAG_TextHTML or STYLEFLAG_WordWrap).

Definition at line 516 of file elemstyl.h.

UINT16 TEXTSTYLE::WidthUnits
 

Definition at line 527 of file elemstyl.h.


The documentation for this struct was generated from the following file:
Generated on Thu Aug 12 06:27:32 2004 for TNTsdk by doxygen 1.3.4-20031026