drawing_matrix.h

Overview

The drawing_matrix.h file declares the functions related to the matrix in the drawing module.

File to include: <native_drawing/drawing_matrix.h>

Library: libnative_drawing.so

Since: 11

Related module: Drawing

Summary

Functions

Name Description
OH_Drawing_Matrix * OH_Drawing_MatrixCreate (void) Creates an OH_Drawing_Matrix object.
void OH_Drawing_MatrixSetMatrix (OH_Drawing_Matrix *, float scaleX, float skewX, float transX, float skewY, float scaleY, float transY, float persp0, float persp1, float persp2) Sets matrix parameters for an OH_Drawing_Matrix object.
void OH_Drawing_MatrixDestroy (OH_Drawing_Matrix *) Destroys an OH_Drawing_Matrix object and reclaims the memory occupied by the object.