ChartDirector 7.1 (C++ Edition)

DrawArea.setClipRect


Usage

void setClipRect(int left, int top, int right, int bottom);

Description

Sets the clip rectangle.

When performing graphics operation, only regions inside the clip rectangle will be affected. Regions outside will be unaffected.

Arguments

ArgumentDefaultDescription
left(Mandatory)The x coordinate of the left side of the clip rectangle.
top(Mandatory)The y coordinate of the top side of the clip rectangle.
right(Mandatory)The x coordinate of the right side of the clip rectangle.
bottom(Mandatory)The y coordinate of the bottom side of the clip rectangle.

Return Value

None