24 #ifndef __ODGITEXTSTYLE_H__
25 #define __ODGITEXTSTYLE_H__
35 class OdGiTextStyleImpl;
69 double m_dObliquingAngle;
70 double m_dTrackingPercent;
76 double m_dIntercharSpacing;
91 kUseIntercharSpacing = 0x400,
92 kFixedIntercharSpacing = 0x800
102 bool shapeLoaded)
const;
137 const double textSize,
139 const double obliquingAngle,
140 const double trackingPercent,
141 const bool isBackward,
142 const bool isUpsideDown,
143 const bool isVertical,
144 const bool isOverlined,
145 const bool isUnderlined);
186 const OdString& fontFilePath){m_sFontPath = fontFilePath;}
197 const OdString& bigFontFilePath){m_sBigFontPath = bigFontFilePath;}
238 double trackingPercent);
378 bool bold,
bool italic,
388 OdFont* font){m_pFont = font;}
396 OdFont* pBigFont){m_pBigFont = pBigFont;}
413 int& pitchAndFamily)
const;
430 return m_ttfDescriptor;
434 return m_ttfDescriptor;
442 return m_sBigfontFile;
471 return m_dObliquingAngle;
483 return m_dTrackingPercent;
502 m_Codepage = codePage;
521 bool isUseIntercharSpacing) {
SETBIT(m_flags, kUseIntercharSpacing, isUseIntercharSpacing); }
535 bool isUseIntercharSpacing) {
SETBIT(m_flags, kFixedIntercharSpacing, isUseIntercharSpacing); }
#define SETBIT(flags, bit, value)
#define GETBIT(flags, bit)
void setBigFont(OdFont *pBigFont)
bool isUpsideDown() const
OdString getBigFontFilePath(OdDbBaseDatabase *pDb) const
void setBackward(bool isBackward)
OdCodePageId getCodePage() const
void setFont(OdFont *font)
const OdString & styleName() const
void setShapeLoaded(bool shapeLoaded) const
void loadStyleRec(OdDbBaseDatabase *pDb) const
OdFont * getBigFont() const
void setStyleName(const OdString &name)
void setUpsideDown(bool isUpsideDown)
void font(OdString &typeface, bool &bold, bool &italic, int &charset, int &pitchAndFamily) const
bool isUnderlined() const
void setIntercharSpacing(double dSpacing)
void setPreLoaded(bool value) const
double obliquingAngle() const
void setTextSize(double textSize)
void setIsUseIntercharSpacing(bool isUseIntercharSpacing)
OdString getFontFilePath(OdDbBaseDatabase *pDb) const
void set(const OdString &fontName, const OdString &bigFontName, const double textSize, const double xScale, const double obliquingAngle, const double trackingPercent, const bool isBackward, const bool isUpsideDown, const bool isVertical, const bool isOverlined, const bool isUnderlined)
const OdString & bigFontFileName() const
void setFileName(const OdString &fontFileName)
void setXScale(double xScale)
void setOverlined(bool isOverlined)
void setIsShape(bool isShape)
double getIntercharSpacing() const
OdTtfDescriptor & ttfdescriptor()
void setObliquingAngle(double obliquingAngle)
void setIsFixedIntercharSpacing(bool isUseIntercharSpacing)
void setBigFontFileName(const OdString &bigFontFileName)
void setFontFilePath(const OdString &fontFilePath)
void setCodePage(OdCodePageId codePage)
void setVertical(bool isVertical)
void setStriked(bool isStriked)
void setBigFontFilePath(const OdString &bigFontFilePath)
double trackingPercent() const
bool isShapeLoaded() const
void setUnderlined(bool isUnderlined)
const OdTtfDescriptor & ttfdescriptor() const
void setTrackingPercent(double trackingPercent)
bool isFixedIntercharSpacing() const
void setFont(const OdString &typeface, bool bold, bool italic, int charset, int pitchAndFamily)
bool isUseIntercharSpacing() const
void setShxFont(bool value) const
GLuint const GLchar * name
GLsizei const GLfloat * value
@ kUnderlined
The border is inset.