CFx SDK Documentation  2023 SP0
Public Types | Public Member Functions | Public Attributes | List of all members
OdTextProperties Struct Reference

#include <OdFont.h>

Public Types

enum  {
  kNormalText = 0x01 , kVerticalText = 0x02 , kUnderlined = 0x04 , kOverlined = 0x08 ,
  kLastChar = 0x10 , kInBigFont = 0x20 , kInclPenups = 0x40 , kZeroNormals = 0x80 ,
  kBezierCurves = 0x100 , kStriked = 0x200 , kExtentsCalculation = 0x4000
}
 

Public Member Functions

 OdTextProperties ()
 
bool isNormalText () const
 
void setNormalText (bool value)
 
bool isVerticalText () const
 
void setVerticalText (bool value)
 
bool isUnderlined () const
 
void setUnderlined (bool value)
 
bool isOverlined () const
 
void setOverlined (bool value)
 
bool isStriked () const
 
void setStriked (bool value)
 
bool isLastChar () const
 
void setLastChar (bool value)
 
bool isInBigFont () const
 
void setInBigFont (bool value)
 
bool isIncludePenups () const
 
void setIncludePenups (bool value)
 
bool isZeroNormals () const
 
void setZeroNormals (bool value)
 
bool ttfPolyDraw () const
 
void setTtfPolyDraw (bool bFlag)
 
double trackingPercent () const
 
void setTrackingPercent (double trackingPercent)
 
OdUInt32 textQuality () const
 
void setTextQuality (OdUInt32 val)
 

Public Attributes

OdUInt16 m_flags
 
double m_trackingPercent
 
OdUInt16 m_textQuality
 
OdChar m_prevChar
 

Detailed Description

This structure implements text properties in an OdGi context. Corresponding C++ library: TD_Root <group !!RECORDS_TD_APIRef>

Definition at line 82 of file OdFont.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kNormalText 
kVerticalText 
kUnderlined 
kOverlined 
kLastChar 
kInBigFont 
kInclPenups 
kZeroNormals 
kBezierCurves 
kStriked 
kExtentsCalculation 

Definition at line 87 of file OdFont.h.

Constructor & Destructor Documentation

◆ OdTextProperties()

OdTextProperties::OdTextProperties ( )
inline

Definition at line 103 of file OdFont.h.

Member Function Documentation

◆ isInBigFont()

bool OdTextProperties::isInBigFont ( ) const
inline

Returns true if and only if the InBigFont flag is set for this TextProperties object.

Definition at line 165 of file OdFont.h.

◆ isIncludePenups()

bool OdTextProperties::isIncludePenups ( ) const
inline

Returns true if and only if the IncludePenups flag is set for this TextProperties object.

Definition at line 174 of file OdFont.h.

◆ isLastChar()

bool OdTextProperties::isLastChar ( ) const
inline

Returns true if and only if the LastChar flag is set for this TextProperties object.

Returns true if and only if the LastChar flag is set for this TextProperties object.

Definition at line 156 of file OdFont.h.

◆ isNormalText()

bool OdTextProperties::isNormalText ( ) const
inline

Returns true if and only if the Normal Text flag is set for this TextProperties object.

Definition at line 107 of file OdFont.h.

◆ isOverlined()

bool OdTextProperties::isOverlined ( ) const
inline

Returns true if and only if the Overlined flag is set for this TextProperties object.

Definition at line 134 of file OdFont.h.

◆ isStriked()

bool OdTextProperties::isStriked ( ) const
inline

Returns true if and only if the Striked flag is set for this TextProperties object.

Definition at line 143 of file OdFont.h.

◆ isUnderlined()

bool OdTextProperties::isUnderlined ( ) const
inline

Returns true if and only if the Underlined flag is set for this TextProperties object.

Definition at line 125 of file OdFont.h.

◆ isVerticalText()

bool OdTextProperties::isVerticalText ( ) const
inline

Returns true if and only if the Vertical Text flag is set for this TextProperties object.

Definition at line 116 of file OdFont.h.

◆ isZeroNormals()

bool OdTextProperties::isZeroNormals ( ) const
inline

Returns true if and only if the ZeroNormals flag is set for this TextProperties object.

Definition at line 183 of file OdFont.h.

◆ setInBigFont()

void OdTextProperties::setInBigFont ( bool  value)
inline

Controls the InBigFont flag for this TextProperties object.

Parameters
value[in] Controls the flag.

Definition at line 170 of file OdFont.h.

◆ setIncludePenups()

void OdTextProperties::setIncludePenups ( bool  value)
inline

Controls the IncludePenups flag for this TextProperties object.

Parameters
value[in] Controls the flag.

Definition at line 179 of file OdFont.h.

◆ setLastChar()

void OdTextProperties::setLastChar ( bool  value)
inline

Controls the LastChar flag for this TextProperties object.

Parameters
value[in] Controls the flag.

Definition at line 161 of file OdFont.h.

◆ setNormalText()

void OdTextProperties::setNormalText ( bool  value)
inline

Controls the Normal Text flag for this TextProperties object.

Parameters
value[in] Controls the flag.

Definition at line 112 of file OdFont.h.

◆ setOverlined()

void OdTextProperties::setOverlined ( bool  value)
inline

Controls the Overlined flag for this TextProperties object.

Parameters
value[in] Controls the flag.

Definition at line 139 of file OdFont.h.

◆ setStriked()

void OdTextProperties::setStriked ( bool  value)
inline

Controls the Striked flag for this TextProperties object.

Parameters
value[in] Controls the flag.

Definition at line 148 of file OdFont.h.

◆ setTextQuality()

void OdTextProperties::setTextQuality ( OdUInt32  val)
inline

Returns the text quality percent for this vectorization process.

Remarks
Sets a value in the range [0,100]. 50 is the default.

Definition at line 221 of file OdFont.h.

◆ setTrackingPercent()

void OdTextProperties::setTrackingPercent ( double  trackingPercent)
inline

Sets the tracking percent for this TextProperties object.

Parameters
trackingPercent[in] Tracking percent.

Definition at line 207 of file OdFont.h.

◆ setTtfPolyDraw()

void OdTextProperties::setTtfPolyDraw ( bool  bFlag)
inline

Sets smooth TTF text contour output flag.

bFlag (in) New flag value.

Definition at line 198 of file OdFont.h.

◆ setUnderlined()

void OdTextProperties::setUnderlined ( bool  value)
inline

Controls the Underlined flag for this TextProperties object.

Parameters
value[in] Controls the flag.

Definition at line 130 of file OdFont.h.

◆ setVerticalText()

void OdTextProperties::setVerticalText ( bool  value)
inline

Controls the Vertical Text flag for this TextProperties object.

Parameters
value[in] Controls the flag.

Definition at line 121 of file OdFont.h.

◆ setZeroNormals()

void OdTextProperties::setZeroNormals ( bool  value)
inline

Controls the kZeroNormals flag for this TextProperties object.

Parameters
value[in] Controls the flag.

Definition at line 188 of file OdFont.h.

◆ textQuality()

OdUInt32 OdTextProperties::textQuality ( ) const
inline

Returns the text quality percent for this vectorization process.

Returns
Returns a value in the range [0,100]. 50 is the default.

Definition at line 214 of file OdFont.h.

◆ trackingPercent()

double OdTextProperties::trackingPercent ( ) const
inline

Returns the tracking percent for this TextProperties object.

Definition at line 202 of file OdFont.h.

◆ ttfPolyDraw()

bool OdTextProperties::ttfPolyDraw ( ) const
inline

Returns smooth TTF text contour output flag.

Definition at line 192 of file OdFont.h.

Member Data Documentation

◆ m_flags

OdUInt16 OdTextProperties::m_flags

Definition at line 84 of file OdFont.h.

◆ m_prevChar

OdChar OdTextProperties::m_prevChar

Definition at line 101 of file OdFont.h.

◆ m_textQuality

OdUInt16 OdTextProperties::m_textQuality

Definition at line 86 of file OdFont.h.

◆ m_trackingPercent

double OdTextProperties::m_trackingPercent

Definition at line 85 of file OdFont.h.


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