pub unsafe extern "C" fn OH_Drawing_PathAddArc(
path: *mut OH_Drawing_Path,
rect: *const OH_Drawing_Rect,
startAngle: f32,
sweepAngle: f32,
)Expand description
@brief Appends arc to path, as the start of new contour.Arc added is part of ellipse bounded by oval, from startAngle through sweepAngle. Both startAngle and sweepAngle are measured in degrees, where zero degrees is aligned with the positive x-axis, and positive sweeps extends arc clockwise.If sweepAngle <= -360, or sweepAngle >= 360; and startAngle modulo 90 is nearly zero, append oval instead of arc. Otherwise, sweepAngle values are treated modulo 360, and arc may or may not draw depending on numeric rounding.
@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param path Indicates the pointer to an OH_Drawing_Path object. @param rect Indicates the pointer to an OH_Drawing_Rect object. @param startAngle Indicates the starting angle of arc in degrees. @param sweepAngle Indicates the sweep, in degrees. Positive is clockwise. @since 12 @version 1.0