Query: dtk_get_color
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DTK_GET_COLOR(3) Draw Toolkit manual DTK_GET_COLOR(3)NAMEdtk_get_color - provides predefined set of colorsSYNOPSIS#include <dtk_colors.h> const float* dtk_get_color(unsigned int ind);DESCRIPTIONdtk_get_color() returns the ind-th color in a predefined palette of colors. The returned value in a pointer to a array of 4 float repre- senting an RGBA color. For more convenient usage, prefer the following macros that call dtk_get_color() with the correct argument: dtk_white dtk_black dtk_yellow dtk_orange dtk_blue dtk_green dtk_red dtk_magenta dtk_cyan dtk_butter_light dtk_butter_med dtk_butter_dark dtk_orange_light dtk_orange_med dtk_orange_dark dtk_chocolate_light dtk_chocolate_med dtk_chocolate_dark dtk_chameleon_light dtk_chameleon_med dtk_chameleon_dark dtk_skyblue_light dtk_skyblue_med dtk_skyblue_dark dtk_plum_light dtk_plum_med dtk_plum_dark dtk_scarletred_light dtk_scarletred_med dtk_scarletred_dark dtk_aluminium_light dtk_aluminium_med dtk_aluminium_dark dtk_aluminium2_light dtk_aluminium2_med dtk_aluminium2_darkRETURN VALUEThe pointer to the RGBA value of the color if ndP refers to correct value, NULL otherwise.EPFL2010 DTK_GET_COLOR(3)
Related Man Pages |
---|
dtk_create_complex_shape(3) - debian |
dtk_create_rectangle_2p(3) - debian |
dtk_create_image(3) - debian |
makeacol_depth(3alleg4) - debian |
makeacol(3alleg4) - suse |
Similar Topics in the Unix Linux Community |
---|
query on how to search for a line and read 4th word from that line |
locking down unused or unwanted ports in AIX |
Compare two files in UNIX |