接口参考

rect.h · C++ API

按同一接口文件归组浏览,展开条目查看声明、使用说明和版本边界。

阅读相关开发指南 →

这里保留接口声明及来源。逐项运行验证范围以条目记录为准;源文件中的内部实现候选不代表免费 SDK 的交付承诺。

include/kui/core/rect.h
CornerRadii::CornerRadii
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
constexpr CornerRadii() = default;

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:224

反馈此接口问题 →
CornerRadii::CornerRadii
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
constexpr explicit CornerRadii(f32 uniform) : topLeft(uniform, uniform) , topRight(uniform, uniform) , bottomRight(uniform, uniform) , bottomLeft(uniform, uniform)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:225

反馈此接口问题 →
CornerRadii::hasPercentage
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
bool hasPercentage() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:240

反馈此接口问题 →
CornerRadii::isUniform
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
bool isUniform() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:236

反馈此接口问题 →
CornerRadii::isZero
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
bool isZero() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:231

反馈此接口问题 →
CornerRadii::resolve
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
CornerRadii resolve(f32 boxWidth, f32 boxHeight) const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:244

反馈此接口问题 →
EdgeInsets::EdgeInsets
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
constexpr EdgeInsets() = default;

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:191

反馈此接口问题 →
EdgeInsets::EdgeInsets
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
constexpr EdgeInsets(f32 all) : top(all), right(all), bottom(all), left(all)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:192

反馈此接口问题 →
EdgeInsets::EdgeInsets
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
constexpr EdgeInsets(f32 t, f32 r, f32 b, f32 l) : top(t), right(r), bottom(b), left(l)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:195

反馈此接口问题 →
EdgeInsets::EdgeInsets
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
constexpr EdgeInsets(f32 vertical, f32 horizontal) : top(vertical), right(horizontal), bottom(vertical), left(horizontal)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:193

反馈此接口问题 →
EdgeInsets::horizontalSum
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
f32 horizontalSum() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:197

反馈此接口问题 →
EdgeInsets::isZero
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
bool isZero() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:200

反馈此接口问题 →
EdgeInsets::operator!=
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
bool operator!=(const EdgeInsets& o) const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:205

反馈此接口问题 →
EdgeInsets::operator==
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
bool operator==(const EdgeInsets& o) const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:202

反馈此接口问题 →
EdgeInsets::verticalSum
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
f32 verticalSum() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:198

反馈此接口问题 →
offsetRoundedEdgeRadius
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
inline Size offsetRoundedEdgeRadius(const Size& radius, const Size& outset)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:288

反馈此接口问题 →
outsetAdjustedBorderRadius
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
inline Size outsetAdjustedBorderRadius(const Size& edge, const Size& radius, const Size& outset)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:255

反馈此接口问题 →
Point::operator-
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
Point operator-(const Point& o) const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:20

反馈此接口问题 →
Point::operator!=
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
bool operator!=(const Point& o) const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:24

反馈此接口问题 →
Point::operator*
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
Point operator*(f32 s) const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:21

反馈此接口问题 →
Point::operator+
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
Point operator+(const Point& o) const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:19

反馈此接口问题 →
Point::operator==
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
bool operator==(const Point& o) const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:23

反馈此接口问题 →
Point::Point
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
constexpr Point() = default;

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:16

反馈此接口问题 →
Point::Point
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
constexpr Point(f32 x, f32 y) : x(x), y(y)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:17

反馈此接口问题 →
Quad::fromRect
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
static constexpr Quad fromRect(const Rect& r)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:158

反馈此接口问题 →
Quad::getBounds
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
Rect getBounds() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:166

反馈此接口问题 →
Quad::operator!=
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
bool operator!=(const Quad& o) const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:179

反馈此接口问题 →
Quad::operator==
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
bool operator==(const Quad& o) const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:176

反馈此接口问题 →
Quad::Quad
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
constexpr Quad() = default;

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:152

反馈此接口问题 →
Quad::Quad
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
constexpr Quad(Point a, Point b, Point c, Point d) : p1(a), p2(b), p3(c), p4(d)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:155

反馈此接口问题 →
Rect::bottom
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
f32 bottom() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:62

反馈此接口问题 →
Rect::center
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
Point center() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:66

反馈此接口问题 →
Rect::contains
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
bool contains(const Point& p) const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:70

反馈此接口问题 →
Rect::contains
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
bool contains(const Rect& r) const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:75

反馈此接口问题 →
Rect::inset
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
Rect inset(f32 dx, f32 dy) const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:103

反馈此接口问题 →
Rect::inset
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
Rect inset(f32 top, f32 right, f32 bottom, f32 left) const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:108

反馈此接口问题 →
Rect::intersected
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
Rect intersected(const Rect& r) const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:83

反馈此接口问题 →
Rect::intersects
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
bool intersects(const Rect& r) const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:79

反馈此接口问题 →
Rect::isEmpty
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
bool isEmpty() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:68

反馈此接口问题 →
Rect::left
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
f32 left() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:58

反馈此接口问题 →
Rect::offset
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
Rect offset(const Point& p) const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:114

反馈此接口问题 →
Rect::offset
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
Rect offset(f32 dx, f32 dy) const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:112

反馈此接口问题 →
Rect::operator!=
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
bool operator!=(const Rect& o) const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:128

反馈此接口问题 →
Rect::operator==
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
bool operator==(const Rect& o) const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:125

反馈此接口问题 →
Rect::origin
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
Point origin() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:64

反馈此接口问题 →
Rect::pixelSnapped
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
Rect pixelSnapped() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:116

反馈此接口问题 →
Rect::Rect
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
constexpr Rect() = default;

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:53

反馈此接口问题 →
Rect::Rect
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
constexpr Rect(f32 x, f32 y, f32 w, f32 h) : x(x), y(y), width(w), height(h)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:54

反馈此接口问题 →
Rect::Rect
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
constexpr Rect(Point origin, Size size) : x(origin.x), y(origin.y), width(size.width), height(size.height)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:55

反馈此接口问题 →
Rect::right
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
f32 right() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:61

反馈此接口问题 →
Rect::size
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
Size size() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:65

反馈此接口问题 →
Rect::top
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
f32 top() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:60

反馈此接口问题 →
Rect::united
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
Rect united(const Rect& r) const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:93

反馈此接口问题 →
Size::area
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
f32 area() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:38

反馈此接口问题 →
Size::isEmpty
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
bool isEmpty() const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:37

反馈此接口问题 →
Size::operator!=
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
bool operator!=(const Size& o) const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:41

反馈此接口问题 →
Size::operator==
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
bool operator==(const Size& o) const

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:40

反馈此接口问题 →
Size::Size
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
constexpr Size() = default;

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:34

反馈此接口问题 →
Size::Size
待核对3.61.7C++

core 模块公开头声明。直接查看签名;对象生命周期、线程和平台条件须结合所属类型文档。

rect.h
constexpr Size(f32 w, f32 h) : width(w), height(h)

验证范围

已索引当前源码;未逐项完成运行、组合与平台验收。

include/kui/core/rect.h:35

反馈此接口问题 →
浏览同类接口 →