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) {
115 void setLayer(
const std::string& layer) {
122 std::string getLayer()
const {
131 void setColor(
int color) {
140 void setColor24(
int color) {
141 this->color24 = color;
149 int getColor()
const {
158 int getColor24()
const {
165 void setWidth(
int width) {
172 int getWidth()
const {
180 void setLinetype(
const std::string& linetype) {
181 this->linetype = linetype;
187 void setLinetypeScale(
double linetypeScale) {
188 this->linetypeScale = linetypeScale;
191 double getLinetypeScale()
const {
192 return linetypeScale;
198 std::string getLinetype()
const {
199 if (linetype.length()==0) {
206 void setHandle(
int h) {
210 int getHandle()
const {
214 void setInPaperSpace(
bool on) {
218 bool isInPaperSpace()
const {
227 std::string linetype;
228 double linetypeScale;