昇腾社区
Developers
主页
开发
文档
活动
学习
论坛
博客
开发者计划
More
Home
Products
Solutions
More
Atlas Hardware
Coming Soon
Heterogeneous Compute Architecture
CANN
AI Frameworks
MindSpore
PyTorch Adaptation
TensorFlow Adaptation
Application Enablement
MindSpeed
MindIE
MIndCluster
MindEdge
MindSDK
ModelZoo
Full-Pipeline Development Toolchains
MindStudio
Cluster O&M
CCAE
Industry Applications
Internet
Telecom
Urban Data Center
Finance
Education
Energy
Transportation
Manufacturing
Healthcare
Solutions
MoE EP Solution
Atlas Foundation Model Solution
Documentation

hi_rect

Description

Defines the width, height, and upper-left coordinates of a rectangle.

Prototype

typedef struct {
    hi_s32 x;
    hi_s32 y;
    hi_s32 width;
    hi_s32 height;
} hi_rect;

Members

Member

Description

x

X-coordinate of the upper-left corner

y

Y-coordinate of the upper-left corner

width

Rectangle width

height

Rectangle height

Parent topic: Common

Copyright © 2021-2026 Huawei Technologies Co., Ltd. All rights reserved.

Terms of Use
Privacy Policy
Cookies Policy
User Agreement
Contact Us