接口参考

computed_style.h · C++ API · 4/4

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

阅读相关开发指南 →

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

include/kui/css/computed_style.h
cursorTypeName
待核对3.61.7C++

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

computed_style.h
const char* cursorTypeName(CursorType type);

验证范围

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

include/kui/css/computed_style.h:384

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

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

computed_style.h
#if defined(_MSC_VER) && defined(_M_X64) # if !defined(_ITERATOR_DEBUG_LEVEL) || _ITERATOR_DEBUG_LEVEL == 0 static_assert(sizeof(ComputedStyle) == 784, "ABI 尺寸契约破坏:Release-CRT 下 sizeof(ComputedStyle) 已不是 784。");

验证范围

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

include/kui/css/computed_style.h:1968

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

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

computed_style.h
bool operator!=(const EndpointInsets& o) const

验证范围

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

include/kui/css/computed_style.h:1252

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

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

computed_style.h
bool operator==(const EndpointInsets& o) const

验证范围

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

include/kui/css/computed_style.h:1247

反馈此接口问题 →
GapDecorationLists::EndpointInsets::px
待核对3.61.7C++

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

computed_style.h
CSSLength edgeEnd = CSSLength::px(0.0f);

验证范围

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

include/kui/css/computed_style.h:1243

反馈此接口问题 →
GapDecorationLists::EndpointInsets::px
待核对3.61.7C++

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

computed_style.h
CSSLength edgeStart = CSSLength::px(0.0f);

验证范围

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

include/kui/css/computed_style.h:1242

反馈此接口问题 →
GapDecorationLists::EndpointInsets::px
待核对3.61.7C++

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

computed_style.h
CSSLength interiorEnd = CSSLength::px(0.0f);

验证范围

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

include/kui/css/computed_style.h:1245

反馈此接口问题 →
GapDecorationLists::EndpointInsets::px
待核对3.61.7C++

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

computed_style.h
CSSLength interiorStart = CSSLength::px(0.0f);

验证范围

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

include/kui/css/computed_style.h:1244

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

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

computed_style.h
bool operator!=(const GapDecorationLists& o) const

验证范围

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

include/kui/css/computed_style.h:1271

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

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

computed_style.h
bool operator==(const GapDecorationLists& o) const

验证范围

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

include/kui/css/computed_style.h:1263

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

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

computed_style.h
void expand(size_t n, const T& scalar, std::vector<T>& out) const

验证范围

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

include/kui/css/computed_style.h:1214

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

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

computed_style.h
bool operator!=(const GapRuleValueList& o) const

验证范围

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

include/kui/css/computed_style.h:1212

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

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

computed_style.h
bool operator==(const GapRuleValueList& o) const

验证范围

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

include/kui/css/computed_style.h:1206

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

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

computed_style.h
constexpr bool hangingPunctuationHas(u8 mask, HangingPunctuation flag) noexcept

验证范围

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

include/kui/css/computed_style.h:628

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

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

computed_style.h
constexpr u8 hangingPunctuationToU8(HangingPunctuation v) noexcept

验证范围

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

include/kui/css/computed_style.h:623

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

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

computed_style.h
inline bool hasMarginTrim(MarginTrim v, MarginTrim edge)

验证范围

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

include/kui/css/computed_style.h:103

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

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

computed_style.h
KUI_API const ComputedStyle& initialStyle();

验证范围

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

include/kui/css/computed_style.h:2048

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

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

computed_style.h
constexpr bool isVerticalWritingMode(WritingMode wm) noexcept

验证范围

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

include/kui/css/computed_style.h:693

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

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

computed_style.h
constexpr BackgroundRepeat makeBackgroundRepeat(BackgroundRepeatAxis x, BackgroundRepeatAxis y)

验证范围

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

include/kui/css/computed_style.h:224

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

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

computed_style.h
bool hasSource() const

验证范围

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

include/kui/css/computed_style.h:335

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

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

computed_style.h
bool operator!=(const MaskLayer& o) const

验证范围

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

include/kui/css/computed_style.h:345

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

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

computed_style.h
bool operator==(const MaskLayer& o) const

验证范围

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

include/kui/css/computed_style.h:337

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

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

computed_style.h
constexpr TextEmphasisSkip operator&(TextEmphasisSkip a, TextEmphasisSkip b) noexcept

验证范围

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

include/kui/css/computed_style.h:588

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

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

computed_style.h
constexpr TextEmphasisSkip operator|(TextEmphasisSkip a, TextEmphasisSkip b) noexcept

验证范围

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

include/kui/css/computed_style.h:582

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

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

computed_style.h
inline MarginTrim operator|(MarginTrim a, MarginTrim b)

验证范围

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

include/kui/css/computed_style.h:99

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

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

computed_style.h
constexpr TextEmphasisSkip& operator|=(TextEmphasisSkip& a, TextEmphasisSkip b) noexcept

验证范围

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

include/kui/css/computed_style.h:594

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

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

computed_style.h
inline MarginTrim& operator|=(MarginTrim& a, MarginTrim b)

验证范围

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

include/kui/css/computed_style.h:102

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

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

computed_style.h
constexpr TextEmphasisSkip operator~(TextEmphasisSkip a) noexcept

验证范围

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

include/kui/css/computed_style.h:591

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

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

computed_style.h
inline AlignSelf resolveAlignSelfPosition(AlignSelf value, const ComputedStyle* subject, bool horizontalAxis) noexcept

验证范围

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

include/kui/css/computed_style.h:2009

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

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

computed_style.h
[[nodiscard]] constexpr bool isAnyKeyword() const noexcept

验证范围

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

include/kui/css/computed_style.h:1071

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

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

computed_style.h
[[nodiscard]] constexpr bool isAuto() const noexcept

验证范围

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

include/kui/css/computed_style.h:1062

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

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

computed_style.h
[[nodiscard]] constexpr bool isCalc() const noexcept

验证范围

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

include/kui/css/computed_style.h:1067

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

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

computed_style.h
[[nodiscard]] constexpr bool isDefinite() const noexcept

验证范围

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

include/kui/css/computed_style.h:1078

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

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

computed_style.h
[[nodiscard]] constexpr bool isFitContentFn() const noexcept

验证范围

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

include/kui/css/computed_style.h:1069

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

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

computed_style.h
[[nodiscard]] constexpr bool isKeyword() const noexcept

验证范围

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

include/kui/css/computed_style.h:1068

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

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

computed_style.h
[[nodiscard]] constexpr bool isPercent() const noexcept

验证范围

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

include/kui/css/computed_style.h:1066

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

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

computed_style.h
[[nodiscard]] constexpr bool isPx() const noexcept

验证范围

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

include/kui/css/computed_style.h:1065

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

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

computed_style.h
KUI_API f32 toPx(f32 containerSize, f32 fontSize, f32 rootFontSize, f32 vw, f32 vh) const noexcept;

验证范围

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

include/kui/css/computed_style.h:1084

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

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

computed_style.h
KUI_API f32 toPx(f32 containerSize, f32 fontSize, f32 rootFontSize, f32 vw, f32 vh, f32 chWidth, f32 lineHeightPx) const noexcept;

验证范围

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

include/kui/css/computed_style.h:1094

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

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

computed_style.h
inline JustifySelf resolveJustifySelfPosition(JustifySelf value, const ComputedStyle* subject, bool horizontalAxis) noexcept

验证范围

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

include/kui/css/computed_style.h:2028

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

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

computed_style.h
# endif #endif inline bool selfStartUsesPhysicalEnd(const ComputedStyle* subject, bool horizontalAxis) noexcept

验证范围

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

include/kui/css/computed_style.h:1986

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

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

computed_style.h
# elif _ITERATOR_DEBUG_LEVEL == 2 static_assert(sizeof(ComputedStyle) == 792, "ABI 尺寸契约破坏:Debug-CRT 下 sizeof(ComputedStyle) 已不是 792。");

验证范围

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

include/kui/css/computed_style.h:1983

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

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

computed_style.h
constexpr bool textIndentHas(u8 mask, TextIndentFlag flag) noexcept

验证范围

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

include/kui/css/computed_style.h:640

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

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

computed_style.h
inline f32 usedCSSBorderWidth(f32 width)

验证范围

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

include/kui/css/computed_style.h:34

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