xtd 0.2.0
Loading...
Searching...
No Matches

◆ rotate_transform() [2/2]

void xtd::drawing::graphics::rotate_transform ( float  angle,
xtd::drawing::drawing_2d::matrix_order  order 
)

Applies the specified rotation to the transformation matrix of this xtd::drawing::graphics in the specified order.

Parameters
angleAngle of rotation in degrees.
orderMember of the xtd::drawing::drawing_2d::matrix_order enumeration that specifies whether the rotation is prepended or appended to the transformation matrix.
Remarks
The rotation operation consists of multiplying the transformation matrix by a matrix whose elements are derived from the angle parameter. This method applies the rotation by prepending it to the transformation matrix.