接口参考

layout_algorithm.h · C++ API

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

阅读相关开发指南 →

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

include/kui/layout/layout_algorithm.h
LayoutAlgorithm::~LayoutAlgorithm
待核对3.61.7C++

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

layout_algorithm.h
virtual ~LayoutAlgorithm() = default;

验证范围

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

include/kui/layout/layout_algorithm.h:25

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

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

layout_algorithm.h
virtual f32 intrinsicHeightForWidth(LayoutBox* box, f32 width, LayoutContext& ctx);

验证范围

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

include/kui/layout/layout_algorithm.h:40

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

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

layout_algorithm.h
virtual LayoutResult layout(LayoutBox* box, const LayoutConstraints& constraints, LayoutContext& ctx) = 0;

验证范围

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

include/kui/layout/layout_algorithm.h:27

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

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

layout_algorithm.h
virtual f32 maxIntrinsicWidth(LayoutBox* box, LayoutContext& ctx);

验证范围

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

include/kui/layout/layout_algorithm.h:37

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

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

layout_algorithm.h
virtual f32 minIntrinsicWidth(LayoutBox* box, LayoutContext& ctx);

验证范围

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

include/kui/layout/layout_algorithm.h:34

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