25#ifndef DL_ATTRIBUTES_H
26#define DL_ATTRIBUTES_H
72 const std::string& linetype,
73 double linetypeScale) :
79 linetypeScale(linetypeScale),
98 int color,
int color24,
int width,
99 const std::string& linetype,
108 inPaperSpace(false) {
141 this->color24 = color;
181 this->linetype = linetype;
188 this->linetypeScale = linetypeScale;
192 return linetypeScale;
199 if (linetype.length()==0) {
227 std::string linetype;
228 double linetypeScale;
void setColor24(int color)
Definition dl_attributes.h:140
void setLayer(const std::string &layer)
Definition dl_attributes.h:115
std::string getLinetype() const
Definition dl_attributes.h:198
DL_Attributes(const std::string &layer, int color, int color24, int width, const std::string &linetype, int handle=-1)
Definition dl_attributes.h:97
DL_Attributes()
Definition dl_attributes.h:48
void setLinetype(const std::string &linetype)
Definition dl_attributes.h:180
bool isInPaperSpace() const
Definition dl_attributes.h:218
int getColor() const
Definition dl_attributes.h:149
int getWidth() const
Definition dl_attributes.h:172
void setInPaperSpace(bool on)
Definition dl_attributes.h:214
std::string getLayer() const
Definition dl_attributes.h:122
DL_Attributes(const std::string &layer, int color, int width, const std::string &linetype, double linetypeScale)
Definition dl_attributes.h:70
void setLinetypeScale(double linetypeScale)
Definition dl_attributes.h:187
void setHandle(int h)
Definition dl_attributes.h:206
int getHandle() const
Definition dl_attributes.h:210
void setWidth(int width)
Definition dl_attributes.h:165
int getColor24() const
Definition dl_attributes.h:158
double getLinetypeScale() const
Definition dl_attributes.h:191
void setColor(int color)
Definition dl_attributes.h:131