Logo Search packages:      
Sourcecode: adesklets version File versions

void imlib_get_color_modifier_tables ( DATA8 *  red_table,
DATA8 *  green_table,
DATA8 *  blue_table,
DATA8 *  alpha_table 
)

Parameters:
red_table,: an array of DATA8.
green_table,: an array of DATA8.
blue_table,: an array of DATA8.
alpha_table,: an array of DATA8.
Copies the table values from the current color modifier into the pointers to mapping tables specified. They must have 256 entries and be DATA8 format.

Definition at line 4278 of file imlib2.c.

{
   if (!ctx)
      ctx = imlib_context_new();
   CHECK_PARAM_POINTER("imlib_get_color_modifier_tables", "color_modifier",
                       ctx->color_modifier);
   __imlib_CmodGetTables((ImlibColorModifier *) ctx->color_modifier,
                         red_table, green_table, blue_table, alpha_table);
}


Generated by  Doxygen 1.6.0   Back to index