Skip to main content

OH_Drawing_PathAddPathWithOffsetAndMode

Function OH_Drawing_PathAddPathWithOffsetAndMode 

Source
pub unsafe extern "C" fn OH_Drawing_PathAddPathWithOffsetAndMode(
    path: *mut OH_Drawing_Path,
    src: *const OH_Drawing_Path,
    dx: f32,
    dy: f32,
    pathAddMode: OH_Drawing_PathAddMode,
)
Expand description

@brief Appends src path to path, transformed by offset and mode. Transformed curves may have different verbs, point, and conic weights.

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