SilverScreen Solid Modeler

paint_entity_rgb

paint_entity_rgb

Previous topic Next topic  

paint_entity_rgb

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

int paint_entity_rgb ( char *path, RGB rgb, int mode )

 

char *path;           // path name of block, object or symbol

RGB   rgb;            // rgb color to use

int   mode;           // parameters for painting

 

 




Synopsis

#include "silver.h"

 

The paint_entity_rgb function draws the specified entity in the specified rgb color.

 

 

Parameters

path is the full path name of the entity. rgb is the color used to draw the entity.

 

 

Return Value

paint_entity returns SS_SUCCESS (0) if the specified entity exists, and SS_NOTFOUND (-1) otherwise.

 

 

 

The mode parameter may have the following or’ed values:

 

Value

Meaning

COLOR_WIDE

The specified entity is drawn in wide lines.

COLOR_INVERSE

The specified entity is drawn by xor'ing the screen with the color (and width) lines specified, and the lines drawn are saved away, where they may be xor'ed back by refresh_lines .

 

 

See Also

paint_entity, paint_primitive,paint_primitive_rgb