Rect
struct Rect { ... }
Overview
If rects is a null pointer, the buffer size is the same as the size of the dirty region by default.
Related module: NativeWindow
Header file: external_window.h
Summary
Member Variables
| Name | Description |
|---|---|
| int32_t x | Start X coordinate of the rectangle. |
| int32_t y | Start Y coordinate of the rectangle. |
| uint32_t w | Width of the rectangle. |
| uint32_t h | Height of the rectangle. |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 capi-drawing-gpu-context-h
openharmony 鸿蒙 capi-drawing-nativepixelmap-
openharmony 鸿蒙 capi-nativevsync-oh-nativevsync-expectedraterange
openharmony 鸿蒙 capi-drawing-oh-drawing-brush
openharmony 鸿蒙 capi-drawing-oh-drawing-image-info
openharmony 鸿蒙 capi-drawing-text-linetypography-h
openharmony 鸿蒙 capi-oh-nativeimage-oh-nativeimage
openharmony 鸿蒙 capi-drawing-typeface-h