harmony 鸿蒙Region

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

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

Name Description
struct  Rect Describes a rectangle.

Member Variables

Name Description
struct Region::Rect * rects If rects is a null pointer, the buffer size is the same as the size of the dirty region by default.
int32_t rectNumber If 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

0  赞