Colours & Grid
Colour palette and grid control.
20 functions.
CadColorGetRGBReturns the r g b of the colour palette.
CadColorPutRGBSets the r g b of the colour palette.
CadColorSeekFinds the palette index nearest to an RGB colour.
CadGetColorCadGetColor / CadSetColor are the palette get/set under their other Vecad names (index 0..263; 256..263 are special CAD_COLOR_* refs with no RGB).
CadGridGetBoldStepReturns the bold step of the grid.
CadGridGetColorReturns the colour of the grid.
CadGridGetLevelReturns the level of the grid.
CadGridGetShowReturns the show of the grid.
CadGridGetSizeReturns the size of the grid.
CadGridGetSnapReturns the snap of the grid.
CadGridGetTypeReturns the type of the grid.
CadGridPutBoldStepSets the bold step of the grid.
CadGridPutColorSets the colour of the grid.
CadGridPutLevelSets the level of the grid.
CadGridPutShowSets the show of the grid.
CadGridPutSizeSets the size of the grid.
CadGridPutSnapSets the snap of the grid.
CadGridPutTypeSets the type of the grid.
CadPenPaletteCreateVecad CadPenPaletteCreate — the pen (colour / linetype / lineweight) palette strip.
CadSetColorSets the value of the colour palette.