debian man page for dtk_setcolor_shape

Query: dtk_setcolor_shape

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DTK_SET_COLOR(3)						Draw Toolkit manual						  DTK_SET_COLOR(3)

NAME
dtk_setcolor_shape - Set the color of a shape
SYNOPSIS
#include <drawtk.h> void dtk_setcolor_shape(const dtk_hshape shp, const float* color, unsigned int mask);
DESCRIPTION
dtk_setcolor_shape() set the color color of a shape identified by the pointer shp. color should point to a 4 float array containing a nor- malized RGBA value (i.e. each component is between 0.0 and 1.0). If shp is a composite shape, color is applied to all the shapes in the list. Notice that color is applied uniformly to the whole shape. Bits in mask correspond to the color channels that will NOT be set. If mask is equal to 0 all the RGBA color channels will be set. Predefined values of mask: * DTK_IGNR: ignore red color channel * DTK_IGNG: ignore green color channel * DTK_IGNB: ignore blue color channel * DTK_IGNA: ignore alpha channel * DTK_IGNRGB: ignore red, green and blue color channels
RETURN VALUE
None.
SEE ALSO
dtk_create_shape(3), dtk_create_composite_shape(3)
EPFL
2012 DTK_SET_COLOR(3)
Related Man Pages
dtk_create_circle(3) - debian
dtk_create_rectangle_2p(3) - debian
dtk_create_shape(3) - debian
dtk_move_shape(3) - debian
imager::color::float(3pm) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Is UNIX an open source OS ?
Detecting unused variables...
A (ksh) Library For and From UNIX.com
My first PERL incarnation... Audio Oscillograph