harmony 鸿蒙OH_Drawing_RunBuffer

2025-06-12 浏览 (1)

OH_Drawing_RunBuffer

Overview

The OH_Drawing_RunBuffer struct describes a run, which provides storage for glyphs and positions.

Since: 11

Related module: Drawing

Header file: drawing_text_blob.h

Summary

Member Variables

NameDescription
uint16_t * glyphsStorage for glyph indexes in the run.
float * posStorage for glyph positions in the run.
char * utf8textStorage for UTF-8 encoded text units in the run.
uint32_t * clustersStorage for glyph clusters (index of the UTF-8 encoded text unit) in the run.

Member Variable Description

clusters

uint32_t* OH_Drawing_RunBuffer::clusters

Description

Storage for glyph clusters (index of the UTF-8 encoded text unit) in the run.

glyphs

uint16_t* OH_Drawing_RunBuffer::glyphs

Description

Storage for glyph indexes in the run.

pos

float* OH_Drawing_RunBuffer::pos

Description

Storage for glyph positions in the run.

utf8text

char* OH_Drawing_RunBuffer::utf8text

Description

Storage for UTF-8 encoded text units in the run.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkGraphics 2D

harmony 鸿蒙BufferHandle

harmony 鸿蒙ColorSpacePrimaries

harmony 鸿蒙DisplaySoloist_ExpectedRateRange

harmony 鸿蒙_drawing

harmony 鸿蒙NativeColorSpaceManager

harmony 鸿蒙NativeDisplaySoloist

harmony 鸿蒙NativeVsync

harmony 鸿蒙NativeWindow

harmony 鸿蒙OH_Drawing_BitmapFormat

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