ChartDirector 7.1 (C++ Edition)

DrawArea.shearTransform


Usage

void shearTransform(double xShear, double yShear = 0, int bgColor = 0xffffff, int filter = LinearFilter, double blur = 1);

Description

Shear the drawing surface.

Shearing can be applied along the horizontal direction and/or vertical direction. A rectangle, after shearing, will become a parallelogram.

Arguments

ArgumentDefaultDescription
xShear(Mandatory)The number of pixels to shear leftwards.
yShear0The number of pixels to shear downwards.
bgColorFFFFFFThe background color used to fill the space left after transformation.
filterLinearFilterThe filter to use for re-sampling.
blur1The blur factor to use for re-sampling.

Return Value

None