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

◆ translate_transform() [1/2]

void xtd::drawing::graphics::translate_transform ( float  dx,
float  dy 
)

Changes the origin of the coordinate system by prepending the specified translation to the transformation matrix of this xtd::drawing::graphics.

Parameters
dxThe x-coordinate of the translation.
dyThe y-coordinate of the translation.
Remarks
The translation operation consists of multiplying the transformation matrix by a matrix whose translation part is the dx and dy parameters. This method prepends or appends the transformation matrix of the xtd::drawing::graphics by the translation matrix according to the order parameter.