ClanSoft logo
ClanSoft logo

    CL_Color::get_color

Syntax

static unsigned int get_color(
        CL_Target* target,
        int r,
        int g,
        int b,
        int a=255);

Parameters

target-a pointer to a target
r-the red value as an integer
g-the green value as an integer
b-the blue value as an integer
a-the alpha value (default is opaque)

Description

Returns the color value for the specifiedred, blue and green integer components,in the same pixel format as the target.


Back to index



This page was built using the Perceps documentation system.