pub unsafe extern "C" fn OH_Drawing_MatrixRotate(
matrix: *mut OH_Drawing_Matrix,
degree: f32,
px: f32,
py: f32,
)Expand description
@brief Sets matrix to rotate by degrees about a pivot point at (px, py). The pivot point is unchanged when mapped with matrix. Positive degrees rotates clockwise.
@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param matrix Indicates the pointer to an OH_Drawing_Matrix object. @param degree Indicates the angle of axes relative to upright axes. @param px Indicates the pivot on x-axis. @param py Indicates the pivot on y-axis. @since 12 @version 1.0