接口参考

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

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

阅读相关开发指南 →

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

include/kui/layout/layout_context.h
LayoutContext::multiRunResultMemoStores
待核对3.61.7C++

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

layout_context.h
u32 multiRunResultMemoStores() const;

验证范围

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

include/kui/layout/layout_context.h:1048

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

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

layout_context.h
bool multiRunWidthMemoEnabled() const;

验证范围

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

include/kui/layout/layout_context.h:728

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

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

layout_context.h
u32 multiRunWidthMemoHits() const;

验证范围

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

include/kui/layout/layout_context.h:730

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

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

layout_context.h
size_t multiRunWidthMemoSize() const;

验证范围

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

include/kui/layout/layout_context.h:731

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

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

layout_context.h
f32 normalLineHeight(const String& fontFamily, f32 fontSize, u16 fontWeight, u8 fontStyle) const;

验证范围

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

include/kui/layout/layout_context.h:305

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

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

layout_context.h
void noteIfcResultCache(IfcResultCacheOutcome outcome) const;

验证范围

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

include/kui/layout/layout_context.h:1001

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

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

layout_context.h
void noteViewportFixedPlacement(const ViewportFixedPlacement& placement)

验证范围

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

include/kui/layout/layout_context.h:766

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

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

layout_context.h
u32 paragraphCacheClears() const

验证范围

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

include/kui/layout/layout_context.h:955

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

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

layout_context.h
u32 paragraphCacheHits() const

验证范围

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

include/kui/layout/layout_context.h:953

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

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

layout_context.h
u32 paragraphCacheMisses() const

验证范围

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

include/kui/layout/layout_context.h:954

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

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

layout_context.h
size_t paragraphCacheSize() const

验证范围

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

include/kui/layout/layout_context.h:923

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

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

layout_context.h
bool paragraphCacheTrimEnabled() const;

验证范围

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

include/kui/layout/layout_context.h:902

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

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

layout_context.h
u32 paragraphCacheWidthVariantMisses() const;

验证范围

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

include/kui/layout/layout_context.h:957

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

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

layout_context.h
u64 paragraphHistoryBudgetBytes() const;

验证范围

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

include/kui/layout/layout_context.h:907

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

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

layout_context.h
using MeasureParagraphFn = std::function<ParagraphMetrics( const String& text, const String& fontFamily, f32 fontSize, u16 fontWeight, u8 fontStyle, f32 maxWidth, f32 lineHeightMult, f32 letterSpacing, f32 wordSpacing, f32 textIndent, Color paintColor, TextDirection direction, bool breakLongWords, bool lineHeightNormal)>;

验证范围

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

include/kui/layout/layout_context.h:328

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

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

layout_context.h
ParagraphRetentionStats paragraphRetentionStats() const;

验证范围

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

include/kui/layout/layout_context.h:921

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

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

layout_context.h
u32 paragraphTextLineCount( const LayoutBox* paragraphOwner, const Node* textNode) const;

验证范围

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

include/kui/layout/layout_context.h:452

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

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

layout_context.h
void popAbsoluteLayoutDispatch()

验证范围

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

include/kui/layout/layout_context.h:751

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

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

layout_context.h
InheritedFloats popInheritedFloats();

验证范围

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

include/kui/layout/layout_context.h:802

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

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

layout_context.h
void popLayoutDepth()

验证范围

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

include/kui/layout/layout_context.h:810

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

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

layout_context.h
void popMeasureOnly()

验证范围

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

include/kui/layout/layout_context.h:737

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

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

layout_context.h
void publishFlexLineSnapshot( const LayoutBox* box, Unique<FlexLineSnapshot> snapshot);

验证范围

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

include/kui/layout/layout_context.h:431

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

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

layout_context.h
void publishMulticolFragmentGeometry( const LayoutBox* box, Unique<MulticolFragmentGeometry> geometry);

验证范围

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

include/kui/layout/layout_context.h:420

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

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

layout_context.h
void publishParagraphTextLineSpan( const LayoutBox* paragraphOwner, const Node* textNode, u32 firstLine, u32 lastLine, u32 lineCount);

验证范围

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

include/kui/layout/layout_context.h:449

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

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

layout_context.h
void publishParagraphTextLineSpans( const LayoutBox* paragraphOwner, const std::vector<InlineRun>& runs, const MultiRunResult& result);

验证范围

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

include/kui/layout/layout_context.h:441

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

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

layout_context.h
void pushAbsoluteLayoutDispatch(LayoutBox* box)

验证范围

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

include/kui/layout/layout_context.h:748

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

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

layout_context.h
void pushInheritedFloats(InheritedFloats floats);

验证范围

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

include/kui/layout/layout_context.h:801

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

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

layout_context.h
void pushLayoutDepth()

验证范围

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

include/kui/layout/layout_context.h:809

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

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

layout_context.h
void pushMeasureOnly()

验证范围

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

include/kui/layout/layout_context.h:736

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

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

layout_context.h
FontMetricsResult queryFontMetrics(const String& fontFamily, f32 fontSize, u16 fontWeight, u8 fontStyle) const;

验证范围

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

include/kui/layout/layout_context.h:298

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

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

layout_context.h
size_t releaseParagraphsForNewDocument() const;

验证范围

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

include/kui/layout/layout_context.h:894

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

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

layout_context.h
void resetCounters()

验证范围

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

include/kui/layout/layout_context.h:841

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

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

layout_context.h
void resetFastPathCounters() noexcept

验证范围

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

include/kui/layout/layout_context.h:629

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

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

layout_context.h
f32 resolveLengthX(const struct CSSLength& len, f32 fontSize, f32 percentBase) const;

验证范围

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

include/kui/layout/layout_context.h:226

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

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

layout_context.h
f32 resolveLengthY(const struct CSSLength& len, f32 fontSize, f32 percentBase) const;

验证范围

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

include/kui/layout/layout_context.h:229

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

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

layout_context.h
bool resultMemoEnabled() const noexcept;

验证范围

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

include/kui/layout/layout_context.h:639

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

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

layout_context.h
u32 resultMemoHits() const noexcept

验证范围

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

include/kui/layout/layout_context.h:635

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

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

layout_context.h
~ResultMemoSuppressScope()

验证范围

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

include/kui/layout/layout_context.h:653

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

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

layout_context.h
ResultMemoSuppressScope& operator=(const ResultMemoSuppressScope&) = delete;

验证范围

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

include/kui/layout/layout_context.h:655

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

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

layout_context.h
ResultMemoSuppressScope(const ResultMemoSuppressScope&) = delete;

验证范围

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

include/kui/layout/layout_context.h:654

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

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

layout_context.h
ResultMemoSuppressScope(LayoutContext& ctx, LayoutBox* box) noexcept : ctx_(ctx), previous_(ctx.resultMemoSuppressedBox_)

验证范围

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

include/kui/layout/layout_context.h:649

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

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

layout_context.h
~ResultMemoTrialScope()

验证范围

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

include/kui/layout/layout_context.h:673

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

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

layout_context.h
ResultMemoTrialScope& operator=(const ResultMemoTrialScope&) = delete;

验证范围

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

include/kui/layout/layout_context.h:675

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

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

layout_context.h
ResultMemoTrialScope(const ResultMemoTrialScope&) = delete;

验证范围

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

include/kui/layout/layout_context.h:674

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

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

layout_context.h
ResultMemoTrialScope(LayoutContext& ctx, LayoutBox* box) noexcept : ctx_(ctx), previous_(ctx.resultMemoTrialBox_)

验证范围

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

include/kui/layout/layout_context.h:669

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

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

layout_context.h
f32 rootFontSize() const

验证范围

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

include/kui/layout/layout_context.h:213

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

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

layout_context.h
bool rtlInlineEdgeLevelEnabled() const;

验证范围

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

include/kui/layout/layout_context.h:1019

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

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

layout_context.h
bool rtlInlineEdgeLogicalEnabled() const;

验证范围

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

include/kui/layout/layout_context.h:1010

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

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

layout_context.h
void setAllocateBoxFn(AllocateBoxFn fn) noexcept

验证范围

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

include/kui/layout/layout_context.h:417

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

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

layout_context.h
void setDevicePixelRatio(f32 d)

验证范围

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

include/kui/layout/layout_context.h:224

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

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

layout_context.h
void setDispatchFunction(DispatchFn fn) noexcept

验证范围

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

include/kui/layout/layout_context.h:570

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

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

layout_context.h
void setFindLineBreaksFn(FindLineBreaksFn fn)

验证范围

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

include/kui/layout/layout_context.h:545

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

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

layout_context.h
void setFontMetricsFn(FontMetricsFn fn)

验证范围

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

include/kui/layout/layout_context.h:296

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

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

layout_context.h
void setIfcAlternateSlotEnabled(bool enabled) noexcept

验证范围

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

include/kui/layout/layout_context.h:610

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

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

layout_context.h
void setIfcCacheFirstLineAdvanceEnabled(bool enabled) const;

验证范围

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

include/kui/layout/layout_context.h:1009

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

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

layout_context.h
void setIncrementalEnabled(bool enabled) noexcept

验证范围

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

include/kui/layout/layout_context.h:601

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

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

layout_context.h
void setInlineFragmentHitTestEnabled(bool enabled) const;

验证范围

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

include/kui/layout/layout_context.h:1035

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

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

layout_context.h
void setLayoutMultiRunFn(LayoutMultiRunFn fn)

验证范围

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

include/kui/layout/layout_context.h:690

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

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

layout_context.h
void setMeasureParagraphFn(MeasureParagraphFn fn)

验证范围

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

include/kui/layout/layout_context.h:337

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

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

layout_context.h
void setMeasureTextFn(MeasureTextFn fn)

验证范围

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

include/kui/layout/layout_context.h:271

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

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

layout_context.h
void setMultiRunResultMemoEnabled(bool enabled) const;

验证范围

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

include/kui/layout/layout_context.h:1053

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

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

layout_context.h
void setMultiRunWidthMemoEnabled(bool enabled) const;

验证范围

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

include/kui/layout/layout_context.h:729

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

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

layout_context.h
void setParagraphBytesFn(ParagraphBytesFn fn);

验证范围

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

include/kui/layout/layout_context.h:901

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

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

layout_context.h
void setParagraphCacheTrimEnabled(bool enabled) const;

验证范围

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

include/kui/layout/layout_context.h:906

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

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

layout_context.h
void setParagraphHistoryBudgetBytes(u64 bytes) const;

验证范围

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

include/kui/layout/layout_context.h:910

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

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

layout_context.h
void setPerformanceSession(PerformanceSession* session) noexcept;

验证范围

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

include/kui/layout/layout_context.h:571

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

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

layout_context.h
void setRootFontSize(f32 s)

验证范围

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

include/kui/layout/layout_context.h:220

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

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

layout_context.h
void setRtlInlineEdgeLevelEnabled(bool enabled) const;

验证范围

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

include/kui/layout/layout_context.h:1026

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

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

layout_context.h
void setRtlInlineEdgeLogicalEnabled(bool enabled) const;

验证范围

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

include/kui/layout/layout_context.h:1018

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

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

layout_context.h
static void setStackReserveBytes(size_t bytes);

验证范围

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

include/kui/layout/layout_context.h:831

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

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

layout_context.h
void setViewportSize(f32 w, f32 h)

验证范围

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

include/kui/layout/layout_context.h:211

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

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

layout_context.h
bool shouldDeferAbsoluteLayoutFor(const LayoutBox* box) const

验证范围

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

include/kui/layout/layout_context.h:739

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

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

layout_context.h
u32 stackGuardStops() const

验证范围

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

include/kui/layout/layout_context.h:836

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

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

layout_context.h
static size_t stackReserveBytes();

验证范围

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

include/kui/layout/layout_context.h:830

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

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

layout_context.h
u32 textMeasureCacheHits() const

验证范围

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

include/kui/layout/layout_context.h:930

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

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

layout_context.h
size_t textMeasureCacheSize() const

验证范围

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

include/kui/layout/layout_context.h:933

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

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

layout_context.h
u32 textMeasureCalls() const

验证范围

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

include/kui/layout/layout_context.h:943

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

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

layout_context.h
f64 textMeasureCpuMs() const

验证范围

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

include/kui/layout/layout_context.h:946

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

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

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

验证范围

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

include/kui/layout/layout_context.h:266

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

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

layout_context.h
TopologyReuseStats topologyReuseStats() const;

验证范围

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

include/kui/layout/layout_context.h:539

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