• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Region
2
3
4## Overview
5
6The **Region** module defines the rectangle (dirty region) where the content is to be updated in the local NativeWindow.
7
8**Since**
9
108
11
12**Related Modules**
13
14[NativeWindow](_native_window.md)
15
16
17## Summary
18
19
20### Member Variables
21
22  | Name| Description|
23| -------- | -------- |
24| [*rects](#rects) | If **rects** is a null pointer, the buffer size is the same as the size of the dirty region by default.|
25| [rectNumber](#rectnumber) | If **rectNumber** is **0**, the buffer size is the same as the size of the dirty region by default.|
26
27
28### rectNumber
29
30
31```
32int32_t Region::rectNumber
33```
34
35**Description**
36
37If **rectNumber** is **0**, the buffer size is the same as the size of the dirty region by default.
38
39
40### \*rects
41
42
43```
44struct Rect Region::*rects
45```
46
47**Description**
48
49Pointer to the struct. The type is [Rect](_rect.md). If **rects** is a null pointer, the buffer size is the same as the size of the dirty region by default.
50