36#include <dime/Basic.h>
44 FROZEN_NEW_VIEWPORTS = 0x2,
48 const char *getLayerName()
const;
49 int getLayerNum()
const;
51 int16 getColorNumber()
const;
52 void setColorNumber(
const int16 num);
54 int16 getFlags()
const;
55 void setFlags(
const int16 &flags);
57 bool isDefaultLayer()
const;
59 static const dimeLayer *getDefaultLayer();
61 static void colorToRGB(
const int colornum,
62 dxfdouble &r, dxfdouble &g, dxfdouble &b);
68 dimeLayer(
const char *
const name,
const int num,
69 const int16 colnum,
const int16 flags);
70 const char *layerName;
75 static void cleanup_default_layer(
void);
101 this->colorNum = num;
The dimeLayer class handles layers.
Definition Layer.h:39
int16 getFlags() const
Definition Layer.h:105
int getLayerNum() const
Definition Layer.h:87
bool isDefaultLayer() const
Definition Layer.h:117
void setFlags(const int16 &flags)
Definition Layer.h:111
const char * getLayerName() const
Definition Layer.h:81
int16 getColorNumber() const
Definition Layer.h:93
void setColorNumber(const int16 num)
Definition Layer.h:99
static const dimeLayer * getDefaultLayer()
Definition Layer.cpp:404
The dimeModel class organizes a model.
Definition Model.h:55