Skip to main content

OH_Drawing_MatrixCreateRotation

Function OH_Drawing_MatrixCreateRotation 

Source
pub unsafe extern "C" fn OH_Drawing_MatrixCreateRotation(
    deg: f32,
    x: f32,
    y: f32,
) -> *mut OH_Drawing_Matrix
Expand description

@brief Creates an OH_Drawing_Matrix object with rotation. Sets matrix to rotate by degrees about a pivot point at (px, py).

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param deg angle of axes relative to upright axes @param x pivot on x-axis. @param y pivot on y-axis. @since 12 @version 1.0