harmony 鸿蒙OH_Drawing_RunBuffer

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

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

Name Description
uint16_t * glyphs Storage for glyph indexes in the run.
float * pos Storage for glyph positions in the run.
char * utf8text Storage for UTF-8 encoded text units in the run.
uint32_t * clusters Storage 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

0  赞