|
||
void rgb_of_edge ( OBJECT_NODE *obj, int i, int *r, int *g, int *b )
OBJECT_NODE *obj; // object structure pointer int i; // edge number in object int *r; // address of integer to receive red value int *g; // address of integer to receive green value int *b; // address of integer to receive blue value
|
|
|
Synopsis |
#include "ssnodes.h"
The rgb_of_edge function retrieves the red, green and blue values for the ith edge of object obj . These values are returned stored into the integers at r , g , and b .
|
|
Parameters |
obj is the address of of an object pointer, as obtained via get_bos . i is an integer specifying the edge number in the edge list of obj . r , g and b are all addresses of integers that are to receive the color values.
|
|
Return Value |
none.
|
|
See Also |
|
|
|
|