pub unsafe extern "C" fn OH_Drawing_MatrixSetRectToRect(
matrix: *mut OH_Drawing_Matrix,
src: *const OH_Drawing_Rect,
dst: *const OH_Drawing_Rect,
stf: OH_Drawing_ScaleToFit,
) -> boolExpand description
@brief Sets matrix to scale and translate src rect to dst rect.
@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param matrix Indicates the pointer to an OH_Drawing_Matrix object. @param src Indicates the pointer to an OH_Drawing_Rect object rect to map from. @param dst Indicates the pointer to an OH_Drawing_Rect object rect to map to. @param stf Scales to fit enum method. @return Returns true if dst is empty, and sets matrix to: | 0 0 0 | | 0 0 0 | | 0 0 1 |
@since 12 @version 1.0