Provided by: libdrawtk-dev_2.0-2ubuntu1_amd64 bug

NAME

       dtk_get_color - provides predefined set of colors

SYNOPSIS

       #include <dtk_colors.h>

       const float* dtk_get_color(unsigned int ind);

DESCRIPTION

       dtk_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 representing 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_dark

RETURN VALUE

       The pointer to the RGBA value of the color if ndP refers to correct value, NULL otherwise.