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 ( 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.

Member Function Documentation

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

Member Data Documentation

std::string DL_StyleData::bigFontFile

Big font file name.

bool DL_StyleData::bold
double DL_StyleData::fixedTextHeight

Fixed text height or 0 for not fixed.

int DL_StyleData::flags

Style flags.

bool DL_StyleData::italic
double DL_StyleData::lastHeightUsed

Last height used.

std::string DL_StyleData::name

Style name.

double DL_StyleData::obliqueAngle

Oblique angle.

std::string DL_StyleData::primaryFontFile

Primary font file name.

int DL_StyleData::textGenerationFlags

Text generation flags.

double DL_StyleData::widthFactor

Width factor.

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