drawing_typeface.h
Overview
The drawing_typeface.h file declares the functions related to the typeface in the drawing module. Different platforms have their own default typefaces. You can also parse the .ttf file to obtain the typefaces specified by the third party, such as SimSun and SimHei.
File to include: <native_drawing/drawing_typeface.h>;
Library: libnative_drawing.so
Since: 11
Related module: Drawing
Summary
Functions
Name | Description |
---|---|
OH_Drawing_Typeface * OH_Drawing_TypefaceCreateDefault (void) | Creates an OH_Drawing_Typeface object, which defines the default font. |
void OH_Drawing_TypefaceDestroy (OH_Drawing_Typeface *) | Destroys an OH_Drawing_Typeface object and reclaims the memory occupied by the object. |