harmony 鸿蒙drawing_text_declaration.h

  • 2025-06-12
  • 浏览 (8)

drawing_text_declaration.h

Overview

The drawing_text_declaration.h file declares the structs related to text in 2D drawing.

File to include: <native_drawing/drawing_text_declaration.h>

Library: libnative_drawing.so

Since: 8

Related module: Drawing

Summary

Types

Name Description
typedef struct OH_Drawing_TextTab OH_Drawing_TextTab Defines a struct used to manage text tabs.
typedef struct OH_Drawing_LineTypography OH_Drawing_LineTypography Defines a struct used to extract a single line of data from a piece of text for typography.
typedef struct OH_Drawing_FontCollection OH_Drawing_FontCollection Defines a struct used to load fonts.
typedef struct OH_Drawing_Typography OH_Drawing_Typography Defines a struct used to manage the typography layout and display.
typedef struct OH_Drawing_TextStyle OH_Drawing_TextStyle Defines a struct used to manage text colors and decorations.
typedef struct OH_Drawing_TypographyStyle OH_Drawing_TypographyStyle Defines a struct used to manage the typography style, such as the text direction.
typedef struct OH_Drawing_TypographyCreate OH_Drawing_TypographyCreate Defines a struct used to create an OH_Drawing_Typography object.
typedef struct OH_Drawing_TextBox OH_Drawing_TextBox Defines a struct for a text box, which is used to receive the rectangle size, direction, and quantity.
typedef struct OH_Drawing_PositionAndAffinity OH_Drawing_PositionAndAffinity Defines a struct used to receive the position and affinity of a glyph.
typedef struct OH_Drawing_Range OH_Drawing_Range Defines a struct used to receive the start position and end position of a glyph.
typedef struct OH_Drawing_TextShadow OH_Drawing_TextShadow Defines a struct used to manage text shadows.
typedef struct OH_Drawing_FontParser OH_Drawing_FontParser Defines a struct used to parse system font files.
typedef struct OH_Drawing_TextLine OH_Drawing_TextLine Defines a struct used to manage text lines.
typedef struct OH_Drawing_Run OH_Drawing_Run Defines a struct used to manage runs.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkGraphics 2D

harmony 鸿蒙BufferHandle

harmony 鸿蒙ColorSpacePrimaries

harmony 鸿蒙DisplaySoloist_ExpectedRateRange

harmony 鸿蒙_drawing

harmony 鸿蒙NativeColorSpaceManager

harmony 鸿蒙NativeDisplaySoloist

harmony 鸿蒙NativeVsync

harmony 鸿蒙NativeWindow

harmony 鸿蒙OH_Drawing_BitmapFormat

0  赞