A3DMDTextPropertiesData Struct Reference

Markup text properties data structure. More...

Data Fields

A3DBool m_bSlant
 
A3DDouble m_dAngle
 
A3DDouble m_dCharHeight
 
A3DDouble m_dCharSpacing
 
A3DDouble m_dCharWidth
 
EA3DMDTextPropertiesFormat m_eFormat
 
EA3DMDTextPropertiesScore m_eGlobalTextScoring
 
EA3DMDTextPropertiesJustification m_eJustification
 
A3DUns16 m_iCharFixedRatioMode
 
A3DUTF8Charm_pcFont
 
A3DUns16 m_ucSize
 
A3DUns16 m_ucThickness
 
A3DUns16 m_usLineStyle
 
A3DUns16 m_usStructSize
 

Detailed Description

Markup text properties data structure.

Version
4.0
Note
For Markup rich text, properties are encoded into string attached to. It is the role of the user to parse through these properties. In case of simple text and others markups, the user needs this function in order to get properties.

Field Documentation

A3DBool A3DMDTextPropertiesData::m_bSlant

Is the text slanted?

A3DDouble A3DMDTextPropertiesData::m_dAngle

Slant angle (expressed in degrees).

A3DDouble A3DMDTextPropertiesData::m_dCharHeight

Char height (expressed in mm). If this value is not used, it is set to -1.

A3DDouble A3DMDTextPropertiesData::m_dCharSpacing

Char spacing (expressed in mm). If this value is not used, it is set to -1.

A3DDouble A3DMDTextPropertiesData::m_dCharWidth

Char width (expressed in mm). If this value is not used, it is set to -1.

EA3DMDTextPropertiesFormat A3DMDTextPropertiesData::m_eFormat

Text format.

EA3DMDTextPropertiesScore A3DMDTextPropertiesData::m_eGlobalTextScoring

Global text scoring.

EA3DMDTextPropertiesJustification A3DMDTextPropertiesData::m_eJustification

Text justification.

A3DUns16 A3DMDTextPropertiesData::m_iCharFixedRatioMode

Char fixed ratio mode. If this value is not used, it is set to -1.

A3DUTF8Char* A3DMDTextPropertiesData::m_pcFont

Font of text.

A3DUns16 A3DMDTextPropertiesData::m_ucSize

Font size.

A3DUns16 A3DMDTextPropertiesData::m_ucThickness

Thickness of the text.

A3DUns16 A3DMDTextPropertiesData::m_usLineStyle

Index of line symbol style in the table.

A3DUns16 A3DMDTextPropertiesData::m_usStructSize

Reserved; must be initialized with A3D_INITIALIZE_DATA.