TEXTSTYLE Struct Reference

#include <mi32/elemstyl.h>

Inheritance diagram for TEXTSTYLE:

Inheritance graph
GRAPHICLAYOUT::NAMEDTEXTSTYLEMGD::TEXTSETTINGSTEXTSTYLEDIFF
[legend]
List of all members.

Public Member Functions

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

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

Detailed Description

Definition at line 576 of file elemstyl.h.


Constructor & Destructor Documentation

TEXTSTYLE::TEXTSTYLE (  )  [inline]

Default constructor.

Definition at line 607 of file elemstyl.h.

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

Copy constructor.

Definition at line 638 of file elemstyl.h.

TEXTSTYLE::~TEXTSTYLE (  )  [inline]

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

Definition at line 643 of file elemstyl.h.


Member Function Documentation

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

Inequality operator.

Definition at line 690 of file elemstyl.h.

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

Assignment from TEXTSTYLE.

Definition at line 647 of file elemstyl.h.

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

Equality operator.

Definition at line 658 of file elemstyl.h.

bool TEXTSTYLE::UsesAntialiasing (  )  const [inline]

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

Definition at line 705 of file elemstyl.h.

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

COLOR TEXTSTYLE::BGColor

Definition at line 580 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 596 of file elemstyl.h.

double TEXTSTYLE::ClipWidth

Clip extended area around text in TextAddToClip().

Definition at line 601 of file elemstyl.h.

double TEXTSTYLE::EnhanceWidth

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

Definition at line 595 of file elemstyl.h.

COLOR TEXTSTYLE::FGColor

Definition at line 579 of file elemstyl.h.

UINT32 TEXTSTYLE::FontFlags

FONTSTYLE_Xxxx or'ed together.

Definition at line 586 of file elemstyl.h.

MISTRING TEXTSTYLE::fontname

font name (eg: "SYSTEM.OF")

Definition at line 588 of file elemstyl.h.

INT32 TEXTSTYLE::FontNumber

Definition at line 578 of file elemstyl.h.

FLOAT TEXTSTYLE::GlyphAspect

Height to width aspect ratio.

Definition at line 582 of file elemstyl.h.

FLOAT TEXTSTYLE::GlyphRotation

Rotation of each glyph individually.

Definition at line 581 of file elemstyl.h.

FLOAT TEXTSTYLE::Height

Height of glyph in "HeightUnits".

Definition at line 584 of file elemstyl.h.

UINT16 TEXTSTYLE::HeightUnits

Units for height (SCREENUNIT_...).

Definition at line 589 of file elemstyl.h.

FLOAT TEXTSTYLE::LineSpace

Line spacing in "SpaceUnits".

Definition at line 585 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 603 of file elemstyl.h.

double TEXTSTYLE::MapScale

Definition at line 587 of file elemstyl.h.

UINT16 TEXTSTYLE::Predefined

Predefined label styles.

Definition at line 591 of file elemstyl.h.

double TEXTSTYLE::ShadowAngle

Drop shadow angle in radians.

Definition at line 600 of file elemstyl.h.

double TEXTSTYLE::ShadowOffset

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

Definition at line 599 of file elemstyl.h.

bool TEXTSTYLE::ShadowRelative

true if shadow angle relative to baseline angle

Definition at line 602 of file elemstyl.h.

FLOAT TEXTSTYLE::Shear

Italics angle (ignored unless FONTSTYE_Italic is set).

Definition at line 583 of file elemstyl.h.

UINT16 TEXTSTYLE::SpaceUnits

Units for line spacing (SCREENUNIT_...).

Definition at line 590 of file elemstyl.h.

double TEXTSTYLE::StrokeWidth

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

Definition at line 594 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 592 of file elemstyl.h.

UINT32 TEXTSTYLE::StyleFlags

STYLEFLAG_Xxxx.

Definition at line 577 of file elemstyl.h.

double TEXTSTYLE::UnderlineOffset

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

Definition at line 598 of file elemstyl.h.

double TEXTSTYLE::UnderlineWidth

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

Definition at line 597 of file elemstyl.h.

double TEXTSTYLE::Width

Width of block (only if STYLEFLAG_TextHTML or STYLEFLAG_WordWrap).

Definition at line 593 of file elemstyl.h.

UINT16 TEXTSTYLE::WidthUnits

Definition at line 604 of file elemstyl.h.


The documentation for this struct was generated from the following file:
Generated on Thu Apr 26 04:47:39 2007 for TNTsdk by  doxygen 1.5.2