接口参考

layout_context.h · C++ API · 1/3

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

阅读相关开发指南 →

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

include/kui/layout/layout_context.h
LayoutConstraints::fixed
待核对3.61.7C++

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

layout_context.h
static LayoutConstraints fixed(f32 w, f32 h);

验证范围

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

include/kui/layout/layout_context.h:133

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

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

layout_context.h
KUI_API u64 hash() const noexcept;

验证范围

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

include/kui/layout/layout_context.h:150

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

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

layout_context.h
bool hasPercentageWidthBase() const noexcept

验证范围

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

include/kui/layout/layout_context.h:141

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

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

layout_context.h
f32 percentageWidthBaseOr(f32 fallback) const noexcept

验证范围

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

include/kui/layout/layout_context.h:145

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

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

layout_context.h
void setPercentageWidthBase(f32 base) noexcept

验证范围

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

include/kui/layout/layout_context.h:135

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

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

layout_context.h
static LayoutConstraints unconstrained();

验证范围

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

include/kui/layout/layout_context.h:132

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

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

layout_context.h
~LayoutContext();

验证范围

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

include/kui/layout/layout_context.h:206

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

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

layout_context.h
LayoutBox* allocateBox(Node* node, const ComputedStyle* style) const;

验证范围

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

include/kui/layout/layout_context.h:418

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

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

layout_context.h
void beginTopologyResultReusePass();

验证范围

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

include/kui/layout/layout_context.h:535

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

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

layout_context.h
void bindTopologyResultsToFreshTree(Document* document);

验证范围

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

include/kui/layout/layout_context.h:537

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

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

layout_context.h
u32 boxesLaidOut() const

验证范围

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

include/kui/layout/layout_context.h:785

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

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

layout_context.h
bool canReuseCachedLayout(LayoutBox* box, const LayoutConstraints& constraints) const;

验证范围

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

include/kui/layout/layout_context.h:572

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

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

layout_context.h
void captureTopologyResults(Document* document, LayoutBox* oldRoot);

验证范围

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

include/kui/layout/layout_context.h:536

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

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

layout_context.h
void clearFlexLineSnapshots() noexcept;

验证范围

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

include/kui/layout/layout_context.h:439

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

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

layout_context.h
void clearMulticolFragmentGeometries() noexcept;

验证范围

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

include/kui/layout/layout_context.h:429

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

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

layout_context.h
void clearParagraphCache();

验证范围

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

include/kui/layout/layout_context.h:866

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

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

layout_context.h
void clearParagraphTextLineSpans() noexcept;

验证范围

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

include/kui/layout/layout_context.h:456

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

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

layout_context.h
void clearTextMeasureCache()

验证范围

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

include/kui/layout/layout_context.h:937

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

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

layout_context.h
void clearTopologyResults() noexcept;

验证范围

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

include/kui/layout/layout_context.h:538

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

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

layout_context.h
void clearViewportFixedPlacements()

验证范围

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

include/kui/layout/layout_context.h:777

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

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

layout_context.h
f32 devicePixelRatio() const

验证范围

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

include/kui/layout/layout_context.h:222

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

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

layout_context.h
LayoutResult dispatchLayout(LayoutBox* box, const LayoutConstraints& constraints);

验证范围

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

include/kui/layout/layout_context.h:577

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

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

layout_context.h
void endParagraphCachePass() const;

验证范围

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

include/kui/layout/layout_context.h:875

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

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

layout_context.h
void eraseFlexLineSnapshot(const LayoutBox* box) noexcept;

验证范围

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

include/kui/layout/layout_context.h:438

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

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

layout_context.h
void eraseMulticolFragmentGeometry(const LayoutBox* box) noexcept;

验证范围

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

include/kui/layout/layout_context.h:428

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

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

layout_context.h
void eraseParagraphTextLineSpans( const LayoutBox* paragraphOwner) noexcept;

验证范围

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

include/kui/layout/layout_context.h:454

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

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

layout_context.h
u32 fastPathHits() const noexcept

验证范围

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

include/kui/layout/layout_context.h:613

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

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

layout_context.h
u32 fastPathMisses() const noexcept

验证范围

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

include/kui/layout/layout_context.h:614

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

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

layout_context.h
std::vector<LineBreakResult> findLineBreaks( StringView text, const String& fontFamily, f32 fontSize, u16 fontWeight, u8 fontStyle, f32 maxWidth) const;

验证范围

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

include/kui/layout/layout_context.h:384

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

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

layout_context.h
const FlexLineSnapshot* flexLineSnapshot(const LayoutBox* box) const;

验证范围

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

include/kui/layout/layout_context.h:437

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

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

layout_context.h
using FontMetricsFn = std::function<FontMetricsResult( const String& fontFamily, f32 fontSize, u16 fontWeight, u8 fontStyle)>;

验证范围

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

include/kui/layout/layout_context.h:294

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

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

layout_context.h
bool hasInheritedFloats() const;

验证范围

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

include/kui/layout/layout_context.h:803

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

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

layout_context.h
bool hasMeasureParagraphFn() const

验证范围

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

include/kui/layout/layout_context.h:338

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

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

layout_context.h
bool hasMeasureTextFn() const

验证范围

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

include/kui/layout/layout_context.h:280

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

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

layout_context.h
static bool hasStackHeadroom();

验证范围

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

include/kui/layout/layout_context.h:833

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

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

layout_context.h
bool ifcAlternateSlotEnabled() const noexcept

验证范围

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

include/kui/layout/layout_context.h:603

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

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

layout_context.h
bool ifcCacheFirstLineAdvanceEnabled() const;

验证范围

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

include/kui/layout/layout_context.h:1002

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

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

layout_context.h
u32 ifcResultCacheHits() const;

验证范围

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

include/kui/layout/layout_context.h:1036

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

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

layout_context.h
u32 ifcResultCacheIneligible() const;

验证范围

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

include/kui/layout/layout_context.h:1040

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

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

layout_context.h
u32 ifcResultCacheMissAbsent() const;

验证范围

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

include/kui/layout/layout_context.h:1039

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

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

layout_context.h
u32 ifcResultCacheMissHash() const;

验证范围

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

include/kui/layout/layout_context.h:1038

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

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

layout_context.h
u32 ifcResultCacheMissThrash() const;

验证范围

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

include/kui/layout/layout_context.h:1037

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

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

layout_context.h
bool incrementalEnabled() const noexcept

验证范围

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

include/kui/layout/layout_context.h:579

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

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

layout_context.h
void incrementBoxCount()

验证范围

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

include/kui/layout/layout_context.h:787

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

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

layout_context.h
bool inlineFragmentHitTestEnabled() const;

验证范围

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

include/kui/layout/layout_context.h:1027

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

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

layout_context.h
u32 inlineParagraphShapeCalls() const;

验证范围

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

include/kui/layout/layout_context.h:961

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

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

layout_context.h
f64 inlineParagraphShapeCpuMs() const;

验证范围

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

include/kui/layout/layout_context.h:978

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

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

layout_context.h
u32 inlineParagraphShapeDistinct() const;

验证范围

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

include/kui/layout/layout_context.h:976

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

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

layout_context.h
u32 inlineParagraphShapeLruHits() const;

验证范围

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

include/kui/layout/layout_context.h:977

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

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

layout_context.h
f64 inlineParagraphShapeRepeatCpuMs() const;

验证范围

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

include/kui/layout/layout_context.h:979

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

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

layout_context.h
u32 inlineParagraphShapeRepeats() const;

验证范围

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

include/kui/layout/layout_context.h:974

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

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

layout_context.h
u32 inlineParagraphShapeWidthVariants() const;

验证范围

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

include/kui/layout/layout_context.h:975

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

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

layout_context.h
bool isMeasureOnly() const

验证范围

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

include/kui/layout/layout_context.h:733

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

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

layout_context.h
bool isOverBudget() const

验证范围

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

include/kui/layout/layout_context.h:791

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

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

layout_context.h
bool isOverDepth() const

验证范围

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

include/kui/layout/layout_context.h:808

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

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

layout_context.h
LayoutContext();

验证范围

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

include/kui/layout/layout_context.h:205

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

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

layout_context.h
u32 layoutDepth() const

验证范围

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

include/kui/layout/layout_context.h:807

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

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

layout_context.h
u32 layoutGuardStops() const

验证范围

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

include/kui/layout/layout_context.h:838

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

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

layout_context.h
MultiRunResult layoutMultiRun(std::vector<InlineRun>& runs, f32 availableWidth, u8 textAlign = 0, u32 maxLines = 0, bool ellipsis = false, f32 containerLineHeightMult = -1, TextDirection direction = TextDirection::Ltr, bool allowWordBreak = true, f32 containerFontSize = -1) const;

验证范围

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

include/kui/layout/layout_context.h:691

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

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

layout_context.h
using DispatchFn = function_ref<LayoutResult(LayoutBox*, const LayoutConstraints&, LayoutContext&)>;

验证范围

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

include/kui/layout/layout_context.h:547

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

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

layout_context.h
f64 lineBreakCpuMs() const

验证范围

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

include/kui/layout/layout_context.h:950

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

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

layout_context.h
u32 lineBreakQueries() const

验证范围

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

include/kui/layout/layout_context.h:949

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

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

layout_context.h
static constexpr size_t maxParagraphCacheEntries()

验证范围

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

include/kui/layout/layout_context.h:925

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

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

layout_context.h
static constexpr size_t maxTextMeasureCacheEntries()

验证范围

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

include/kui/layout/layout_context.h:934

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

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

layout_context.h
MultiRunWidth measureMultiRunWidth(const std::vector<InlineRun>& runs, f32 availableWidth, u8 textAlign = 0, u32 maxLines = 0, bool ellipsis = false, f32 containerLineHeightMult = -1, TextDirection direction = TextDirection::Ltr, bool allowWordBreak = true, f32 containerFontSize = -1) const;

验证范围

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

include/kui/layout/layout_context.h:721

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

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

layout_context.h
ParagraphMetrics measureParagraph(StringView text, const String& fontFamily, f32 fontSize, u16 fontWeight, u8 fontStyle, f32 maxWidth, f32 lineHeightMult = 0, f32 letterSpacing = 0, f32 wordSpacing = 0, f32 textIndent = 0, Color paintColor = Color(0,0,0,255), TextDirection direction = TextDirection::Ltr, bool breakLongWords = false, bool lineHeightNormal = false) const;

验证范围

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

include/kui/layout/layout_context.h:340

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

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

layout_context.h
ParagraphMetrics measureParagraphMetrics(StringView text, const String& fontFamily, f32 fontSize, u16 fontWeight, u8 fontStyle, f32 maxWidth, f32 lineHeightMult = 0, f32 letterSpacing = 0, f32 wordSpacing = 0, f32 textIndent = 0, Color paintColor = Color(0,0,0,255), TextDirection direction = TextDirection::Ltr, bool breakLongWords = false, bool lineHeightNormal = false) const;

验证范围

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

include/kui/layout/layout_context.h:355

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

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

layout_context.h
TextMetrics measureText(StringView text, const String& fontFamily, f32 fontSize, u16 fontWeight, u8 fontStyle) const;

验证范围

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

include/kui/layout/layout_context.h:242

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

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

layout_context.h
u32 missDirty() const noexcept

验证范围

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

include/kui/layout/layout_context.h:620

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

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

layout_context.h
u32 missDirtyCD() const noexcept

验证范围

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

include/kui/layout/layout_context.h:628

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

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

layout_context.h
u32 missDirtyNL() const noexcept

验证范围

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

include/kui/layout/layout_context.h:622

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

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

layout_context.h
u32 missDirtyNP() const noexcept

验证范围

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

include/kui/layout/layout_context.h:627

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

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

layout_context.h
u32 missDirtyNS() const noexcept

验证范围

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

include/kui/layout/layout_context.h:626

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

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

layout_context.h
u32 missHash0() const noexcept

验证范围

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

include/kui/layout/layout_context.h:615

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

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

layout_context.h
u32 missMismatch() const noexcept

验证范围

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

include/kui/layout/layout_context.h:621

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

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

layout_context.h
const MulticolFragmentGeometry* multicolFragmentGeometry( const LayoutBox* box) const;

验证范围

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

include/kui/layout/layout_context.h:426

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

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

layout_context.h
using LayoutMultiRunFn = std::function<MultiRunResult( std::vector<InlineRun>& runs, f32 availableWidth, u8 textAlign, u32 maxLines, bool ellipsis, f32 containerLineHeightMult, TextDirection direction, bool allowWordBreak, f32 containerFontSize)>;

验证范围

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

include/kui/layout/layout_context.h:681

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

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

layout_context.h
bool multiRunResultMemoEnabled() const;

验证范围

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

include/kui/layout/layout_context.h:1050

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

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

layout_context.h
u32 multiRunResultMemoHits() const;

验证范围

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

include/kui/layout/layout_context.h:1042

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

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

layout_context.h
size_t multiRunResultMemoSize() const;

验证范围

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

include/kui/layout/layout_context.h:1049

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