ChartDirector 6.0 (C++ Edition)

DrawArea.hline


Usage

void hline(int x1, int x2, int y, int c);

Description

Draws a horizontal line.

Arguments

ArgumentDefaultDescription
x1(Mandatory)The x coordinate of the first end-point of the line.
x2(Mandatory)The x coordinate of the second end-point of the line.
y(Mandatory)The y coordinate of the line.
c(Mandatory)The color of the line.

Return Value

None