ChartDirector 7.1 (C++ Edition)

DrawArea.rotate


Usage

void rotate(double angle, int bgColor = 0xffffff, double cx = -1, double cy = -1, int filter = LinearFilter, double blur = 1);

Description

Rotate the drawing surface.

Arguments

ArgumentDefaultDescription
angle(Mandatory)The rotation angle measured clockwise in degrees.
bgColorFFFFFFThe background color used to fill the space left after rotation.
cx-1The x coordinate of the center of rotation. -1 means rotating about the center of the drawing surface.
cy-1The y coordinate of the center of rotation. -1 means rotating about the center of the drawing surface.
filterLinearFilterThe filter to use for re-sampling.
blur1The blur factor to use for re-sampling.

Return Value

None