Open CASCADE Technology  7.5.0
Public Member Functions | Data Fields
Font_FTFontParams Struct Reference

Font initialization parameters. More...

#include <Font_FTFont.hxx>

Public Member Functions

 Font_FTFontParams ()
 Empty constructor. More...
 
 Font_FTFontParams (unsigned int thePointSize, unsigned int theResolution)
 Constructor. More...
 

Data Fields

unsigned int PointSize
 face size in points (1/72 inch) More...
 
unsigned int Resolution
 resolution of the target device in dpi for FT_Set_Char_Size() More...
 
bool ToSynthesizeItalic
 generate italic style (e.g. for font family having no italic style); FALSE by default More...
 
bool IsSingleStrokeFont
 single-stroke (one-line) font, FALSE by default More...
 

Detailed Description

Font initialization parameters.

Constructor & Destructor Documentation

◆ Font_FTFontParams() [1/2]

Font_FTFontParams::Font_FTFontParams ( )
inline

Empty constructor.

◆ Font_FTFontParams() [2/2]

Font_FTFontParams::Font_FTFontParams ( unsigned int  thePointSize,
unsigned int  theResolution 
)
inline

Constructor.

Field Documentation

◆ IsSingleStrokeFont

bool Font_FTFontParams::IsSingleStrokeFont

single-stroke (one-line) font, FALSE by default

◆ PointSize

unsigned int Font_FTFontParams::PointSize

face size in points (1/72 inch)

◆ Resolution

unsigned int Font_FTFontParams::Resolution

resolution of the target device in dpi for FT_Set_Char_Size()

◆ ToSynthesizeItalic

bool Font_FTFontParams::ToSynthesizeItalic

generate italic style (e.g. for font family having no italic style); FALSE by default


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