drawing_text_declaration.h
Overview
Provides declarations of data structures related to 2D text drawing.
File to include: <native_drawing/drawing_text_declaration.h>
Library: libnative_drawing.so
System capability: SystemCapability.Graphic.Graphic2D.NativeDrawing
Since: 8
Related module: Drawing
Summary
Structs
| Name | typedef Keyword | Description |
|---|---|---|
| OH_Drawing_FontCollection | OH_Drawing_FontCollection | Defines a struct used to load fonts. |
| OH_Drawing_Typography | OH_Drawing_Typography | Defines a struct used to manage the typography layout and display. |
| OH_Drawing_TextStyle | OH_Drawing_TextStyle | Defines a struct used to manage text colors and decorations. |
| OH_Drawing_TypographyStyle | OH_Drawing_TypographyStyle | Defines a struct used to manage the typography style, such as the text direction. |
| OH_Drawing_LineTypography | OH_Drawing_LineTypography | Defines a struct used to extract a single line of data from a piece of text for typography. |
| OH_Drawing_TypographyCreate | OH_Drawing_TypographyCreate | Creates an OH_Drawing_Typography object. |
| OH_Drawing_TextBox | OH_Drawing_TextBox | Defines a struct for a text box, which is used to receive the rectangle size, direction, and quantity. |
| OH_Drawing_PositionAndAffinity | OH_Drawing_PositionAndAffinity | Defines a struct used to receive the position and affinity of a glyph. |
| OH_Drawing_Range | OH_Drawing_Range | Defines a struct used to receive the start position and end position of a glyph. |
| OH_Drawing_TextShadow | OH_Drawing_TextShadow | Defines a struct used to manage text shadows. |
| OH_Drawing_FontParser | OH_Drawing_FontParser | Defines a struct used to parse system font files. |
| OH_Drawing_TextTab | OH_Drawing_TextTab | Defines a struct used to manage text tabs. |
| OH_Drawing_TextLine | OH_Drawing_TextLine | Defines a struct used to manage text lines. |
| OH_Drawing_Run | OH_Drawing_Run | Defines a struct used to manage runs. |
| OH_Drawing_FontFullDescriptor | OH_Drawing_FontFullDescriptor | Defines a struct used to describe detailed information about a font, that is, the font descriptor. |
| OH_Drawing_FontVariationAxis | OH_Drawing_FontVariationAxis | Describes the variable axis of the font. |
| OH_Drawing_FontVariationInstance | OH_Drawing_FontVariationInstance | Describes a variable font instance and stores the preset variable font style information. |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 capi-drawing-gpu-context-h
openharmony 鸿蒙 capi-drawing-nativepixelmap-
openharmony 鸿蒙 capi-nativevsync-oh-nativevsync-expectedraterange
openharmony 鸿蒙 capi-drawing-oh-drawing-brush
openharmony 鸿蒙 capi-drawing-oh-drawing-image-info
openharmony 鸿蒙 capi-drawing-text-linetypography-h
openharmony 鸿蒙 capi-oh-nativeimage-oh-nativeimage
openharmony 鸿蒙 capi-drawing-typeface-h