ClanSoft logo
ClanSoft logo

    CL_Target::fill_rect

Syntax

virtual void fill_rect(
        int x1,
        int y1,
        int x2,
        int y2,
        float r,
        float g,
        float b,
        float a = 1.0);

Parameters

x1-Leftmost x-coordinate.
y1-Upper y-coordinate.
x2-Rightmost x-coordinate.
y2-Lower y-coordinate.
r-Red component of the filled color.
g-Green component of the filled color.
b-Blue component of the filled color.
a-Alpha component of the filled color.

Description

Draw a filled rectangle from (x1, y1) to (x2, y2) using the color(r, g, b, a).


Back to index



This page was built using the Perceps documentation system.