pub unsafe extern "C" fn OH_Drawing_PathIteratorCreate(
path: *const OH_Drawing_Path,
pathIterator: *mut *mut OH_Drawing_PathIterator,
) -> DrawingResultAvailable on crate feature
api-23 only.Expand description
Creates an OH_Drawing_PathIterator object from a path.
§Arguments
-
path- Indicates the pointer to an OH_Drawing_Path object. -
pathIterator- The pointer to the OH_Drawing_PathIterator object created returned to the caller.
§Returns
- Returns the error code.
Returns [
OH_DRAWING_SUCCESS] if the operation is successful. Returns [OH_DRAWING_ERROR_INCORRECT_PARAMETER] if path or pathIterator is nullptr.
Available since API-level: 23