QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
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.
 
bool operator== (const DL_StyleData &other) const
 

Public Attributes

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

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) const
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: