QCAD
Open Source 2D CAD
DL_StyleData Struct Reference

Text style data. More...

#include <dl_entities.h>

Public Member Functions

 DL_StyleData (const std::string &name, int flags, double fixedTextHeight, double widthFactor, double obliqueAngle, int textGenerationFlags, double lastHeightUsed, const std::string &primaryFontFile, const std::string &bigFontFile)
 Constructor Parameters: see member variables. More...
 
bool operator== (const DL_StyleData &other)
 

Public Attributes

std::string bigFontFile
 Big font file name. More...
 
bool bold
 
double fixedTextHeight
 Fixed text height or 0 for not fixed. More...
 
int flags
 Style flags. More...
 
bool italic
 
double lastHeightUsed
 Last height used. More...
 
std::string name
 Style name. More...
 
double obliqueAngle
 Oblique angle. More...
 
std::string primaryFontFile
 Primary font file name. More...
 
int textGenerationFlags
 Text generation flags. More...
 
double widthFactor
 Width factor. More...
 

Detailed Description

Text style data.

Constructor & Destructor Documentation

◆ DL_StyleData()

DL_StyleData::DL_StyleData ( const std::string &  name,
int  flags,
double  fixedTextHeight,
double  widthFactor,
double  obliqueAngle,
int  textGenerationFlags,
double  lastHeightUsed,
const std::string &  primaryFontFile,
const std::string &  bigFontFile 
)
inline

Constructor Parameters: see member variables.

Member Function Documentation

◆ operator==()

bool DL_StyleData::operator== ( const DL_StyleData other)
inline

Member Data Documentation

◆ bigFontFile

std::string DL_StyleData::bigFontFile

Big font file name.

◆ bold

bool DL_StyleData::bold

◆ fixedTextHeight

double DL_StyleData::fixedTextHeight

Fixed text height or 0 for not fixed.

◆ flags

int DL_StyleData::flags

Style flags.

◆ italic

bool DL_StyleData::italic

◆ lastHeightUsed

double DL_StyleData::lastHeightUsed

Last height used.

◆ name

std::string DL_StyleData::name

Style name.

◆ obliqueAngle

double DL_StyleData::obliqueAngle

Oblique angle.

◆ primaryFontFile

std::string DL_StyleData::primaryFontFile

Primary font file name.

◆ textGenerationFlags

int DL_StyleData::textGenerationFlags

Text generation flags.

◆ widthFactor

double DL_StyleData::widthFactor

Width factor.


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