Skip to main content

OH_Drawing_PathOffset

Function OH_Drawing_PathOffset 

Source
pub unsafe extern "C" fn OH_Drawing_PathOffset(
    path: *mut OH_Drawing_Path,
    dst: *mut OH_Drawing_Path,
    dx: f32,
    dy: f32,
)
Expand description

@brief Offset path replaces dst.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param path Indicates the pointer to an OH_Drawing_Path object. @param dst Indicates the pointer to an OH_Drawing_Path object. @param dx Indicates offset added to dst path x-axis coordinates. @param dy Indicates offset added to dst path y-axis coordinates. @since 12 @version 1.0