NAME
DtShapeGetVertexColor - Get the vertex color for the given vertex index.
SYNOPSIS
#include <Dt.h>
int DtShapeGetVertexColor( int shapeID, int index, DtRGBA *color )
DESCRIPTION
DtShapeGetVertexColor() gets the vertex color for the
given vertex index index of the shape shapeID. The
red,green,blue and alpha values are stored in a structure of type
DtRGBA supplied by the caller and pointed to by color.
The structure of DtRGBA is:
struct DtRGBA {
unsigned char r,g,b,a;
}
IMPLEMENTATION
DIAGNOSTICS
DtShapeGetVertexColor() returns 1 on success, 0 on failure.
FILES
Link with -lDtOMio