10 #ifdef WITH_CXX_GUARDEDALLOC
30 LightingEnabled =
true;
49 LineWidth = iLineWidth;
54 PointSize = iPointSize;
79 return LightingEnabled;
88 #ifdef WITH_CXX_GUARDEDALLOC
89 MEM_CXX_CLASS_ALLOC_FUNCS(
"Freestyle:DrawingStyle")
95 Style = iBrother.Style;
96 LineWidth = iBrother.LineWidth;
97 PointSize = iBrother.PointSize;
98 LightingEnabled = iBrother.LightingEnabled;
104 LineWidth = ds.LineWidth;
105 PointSize = ds.PointSize;
106 LightingEnabled = ds.LightingEnabled;
Read Guarded memory(de)allocation.
bool lightingEnabled() const
void setLineWidth(const float iLineWidth)
void setStyle(const STYLE iStyle)
void setPointSize(const float iPointSize)
void setLightingEnabled(const bool on)
DrawingStyle & operator=(const DrawingStyle &ds)