drawing_rect.h

Overview

The drawing_rect.h file declares the functions related to the rectangle in the drawing module.

File to include: <native_drawing/drawing_rect.h>

Library: libnative_drawing.so

Since: 11

Related module: Drawing

Summary

Functions

Name Description
OH_Drawing_Rect * OH_Drawing_RectCreate (float left, float top, float right, float bottom) Creates an OH_Drawing_Rect object.
void OH_Drawing_RectDestroy (OH_Drawing_Rect *) Destroys an OH_Drawing_Rect object and reclaims the memory occupied by the object.