Skip to main content

OH_Drawing_RectIntersect

Function OH_Drawing_RectIntersect 

Source
pub unsafe extern "C" fn OH_Drawing_RectIntersect(
    rect: *mut OH_Drawing_Rect,
    other: *const OH_Drawing_Rect,
) -> bool
Expand description

@brief If rect intersects other, sets rect to intersection.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param rect Indicates the pointer to an OH_Drawing_Rect object. @param other Indicates the pointer to an OH_Drawing_Rect object. @return Returns true if have area in common. @since 12 @version 1.0