gCAD3D 2.40
ut_col.h File Reference

Go to the source code of this file.

Macros

#define COL_INT32(i32)   ((ColRGB*)(i32))
 *ColRGB from *int: More...
 
#define INT32_COL(col)   ((INT_32*)(col))
 *int from *ColRGB More...
 
#define Col_DL_Att(dla)   ((ColRGB*)&((dla)->iatt))
 
#define Col_set_vsym(col, styl)   ((*(col)).vsym = (styl))
 

Functions

ColRGBCol_DL_Att (DL_Att *dla)
 Col_DL_Att get pointer -> Color out of DL_Att INLINE. More...
 
void Col_set_vsym (ColRGB *col, int styl)
 Col_set_vsym set style, symbolic|shaded. More...
 

Macro Definition Documentation

#define COL_INT32 (   i32)    ((ColRGB*)(i32))

*ColRGB from *int:

#define INT32_COL (   col)    ((INT_32*)(col))

*int from *ColRGB

#define Col_DL_Att (   dla)    ((ColRGB*)&((dla)->iatt))
#define Col_set_vsym (   col,
  styl 
)    ((*(col)).vsym = (styl))

Function Documentation

ColRGB* Col_DL_Att ( DL_Att dla)

Col_DL_Att get pointer -> Color out of DL_Att INLINE.

void Col_set_vsym ( ColRGB col,
int  styl 
)

Col_set_vsym set style, symbolic|shaded.