A3DMDTextPropertiesData

Fields

A3DUTF8Char *

m_pcFont

A3DDouble

m_dAngle

A3DBool

m_bSlant

A3DUns16

m_ucThickness

A3DUns16

m_ucSize

A3DUns16

m_usLineStyle

A3DDouble

m_dCharHeight

A3DDouble

m_dCharSpacing

A3DDouble

m_dCharWidth

A3DUns16

m_iCharFixedRatioMode

EA3DMDTextPropertiesScore

m_eGlobalTextScoring

EA3DMDTextPropertiesFormat

m_eFormat

EA3DMDTextPropertiesJustification

m_eJustification

Detailed Description

struct A3DMDTextPropertiesData

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.

Public Members

A3DUTF8Char *m_pcFont

Font of text.

A3DDouble m_dAngle

Slant angle (expressed in degrees).

A3DBool m_bSlant

Is the text slanted?

A3DUns16 m_ucThickness

Thickness of the text.

A3DUns16 m_ucSize

Font size.

A3DUns16 m_usLineStyle

Index of line symbol style in the table.

A3DDouble m_dCharHeight

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

A3DDouble m_dCharSpacing

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

A3DDouble m_dCharWidth

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

A3DUns16 m_iCharFixedRatioMode

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

EA3DMDTextPropertiesScore m_eGlobalTextScoring

Global text scoring.

EA3DMDTextPropertiesFormat m_eFormat

Text format.

EA3DMDTextPropertiesJustification m_eJustification

Text justification.