harmony 鸿蒙Region

2025-06-12 浏览 (1)

Region

Overview

The Region struct describes the rectangle (dirty region) where the content is to be updated in the local OHNativeWindow.

Since: 8

Related module: NativeWindow

Header file: external_window.h

Summary

Structs

NameDescription
struct  RectDescribes a rectangle.

Member Variables

NameDescription
struct Region::Rect * rectsIf rects is a null pointer, the buffer size is the same as the size of the dirty region by default.
int32_t rectNumberIf rectNumber is 0, the buffer size is the same as the size of the dirty region by default.

Member Variable Description

rectNumber

int32_t Region::rectNumber

Description

If rectNumber is 0, the buffer size is the same as the size of the dirty region by default.

*rects

struct Rect Region::*rects

Description

Pointer to the struct. The type is Rect. If rects is a null pointer, the buffer size is the same as the size of the dirty region by default.

你可能感兴趣的鸿蒙文章

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/vaRvv3