openharmony 鸿蒙 capi-drawing-text-declaration-h

2026-08-25 浏览 (1)

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

Nametypedef KeywordDescription
OH_Drawing_FontCollectionOH_Drawing_FontCollectionDefines a struct used to load fonts.
OH_Drawing_TypographyOH_Drawing_TypographyDefines a struct used to manage the typography layout and display.
OH_Drawing_TextStyleOH_Drawing_TextStyleDefines a struct used to manage text colors and decorations.
OH_Drawing_TypographyStyleOH_Drawing_TypographyStyleDefines a struct used to manage the typography style, such as the text direction.
OH_Drawing_LineTypographyOH_Drawing_LineTypographyDefines a struct used to extract a single line of data from a piece of text for typography.
OH_Drawing_TypographyCreateOH_Drawing_TypographyCreateCreates an OH_Drawing_Typography object.
OH_Drawing_TextBoxOH_Drawing_TextBoxDefines a struct for a text box, which is used to receive the rectangle size, direction, and quantity.
OH_Drawing_PositionAndAffinityOH_Drawing_PositionAndAffinityDefines a struct used to receive the position and affinity of a glyph.
OH_Drawing_RangeOH_Drawing_RangeDefines a struct used to receive the start position and end position of a glyph.
OH_Drawing_TextShadowOH_Drawing_TextShadowDefines a struct used to manage text shadows.
OH_Drawing_FontParserOH_Drawing_FontParserDefines a struct used to parse system font files.
OH_Drawing_TextTabOH_Drawing_TextTabDefines a struct used to manage text tabs.
OH_Drawing_TextLineOH_Drawing_TextLineDefines a struct used to manage text lines.
OH_Drawing_RunOH_Drawing_RunDefines a struct used to manage runs.
OH_Drawing_FontFullDescriptorOH_Drawing_FontFullDescriptorDefines a struct used to describe detailed information about a font, that is, the font descriptor.
OH_Drawing_FontVariationAxisOH_Drawing_FontVariationAxisDescribes the variable axis of the font.
OH_Drawing_FontVariationInstanceOH_Drawing_FontVariationInstanceDescribes 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

openharmony 鸿蒙 capi-drawing-brush-h

openharmony 鸿蒙 capi-nativewindow

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/RTGn3eFh