载入中...
搜索中...
未找到
eve::editor::UiSkinPreviewPlanner类 参考

Builds deterministic text/texture commands without touching runtime graphics. 更多...

#include <EditorUiSkinPreview.h>

Public 成员函数

UiSkinDrawPlan build (const UiDocumentTarget &document, const UiPreviewSnapshot &preview, const IUiSkinAssetResolver &assets) const
 Resolve assets and fit/clamp widget content against a layout preview.
 

详细描述

Builds deterministic text/texture commands without touching runtime graphics.

在文件 EditorUiSkinPreview.h 第 53 行定义.

成员函数说明

◆ build()

UiSkinDrawPlan eve::editor::UiSkinPreviewPlanner::build ( const UiDocumentTarget &  document,
const UiPreviewSnapshot &  preview,
const IUiSkinAssetResolver &  assets 
) const

Resolve assets and fit/clamp widget content against a layout preview.

在文件 EditorUiSkinPreview.cpp 第 23 行定义.

引用了 eve::editor::UiSkinDrawCommand::a, eve::editor::UiSkinDrawCommand::asset, eve::editor::UiSkinDrawCommand::b, eve::editor::UiSkinDrawCommand::clipHeight, eve::editor::UiSkinDrawCommand::clipWidth, eve::editor::UiSkinDrawCommand::clipX, eve::editor::UiSkinDrawCommand::clipY, eve::editor::UiSkinDrawPlan::commands, eve::editor::UiSkinDrawPlan::diagnostics, eve::ui_editing::UiPreviewSnapshot::documentRevision, eve::editor::UiSkinDrawPlan::documentRevision, eve::UuidIdAdapter< Tag >::empty(), error, eve::editor::IUiSkinAssetResolver::font(), eve::editor::UiSkinDrawCommand::fontSize, eve::editor::UiSkinDrawCommand::g, eve::editor::UiSkinDrawCommand::height, eve::editor::Image, eve::editor::UiSkinDrawCommand::kind, message, eve::ui_editing::UiStyleValue::paddingLeft, eve::PreconditionViolation, eve::editor::UiSkinDrawCommand::r, eve::editing::EditableTargetState::revision(), eve::editing::ruleDiagnostic(), eve::ui_editing::UiPreviewSnapshot::status, eve::editor::UiSkinDrawPlan::status, eve::ui_editing::UiWidgetSnapshot::style, eve::editor::Text, eve::editor::UiSkinDrawCommand::text, eve::editor::IUiSkinAssetResolver::texture(), eve::editor::UiSkinDrawCommand::u0, eve::editor::UiSkinDrawCommand::u1, eve::editor::UiSkinDrawCommand::v0, eve::editor::UiSkinDrawCommand::v1, eve::UuidIdAdapter< Tag >::value(), visible, eve::ui_editing::UiDocumentTarget::widget(), eve::editor::UiSkinDrawCommand::widget, widget, eve::ui_editing::UiPreviewSnapshot::widgets, eve::editor::UiSkinDrawCommand::width, eve::editor::UiSkinDrawCommand::x , 以及 eve::editor::UiSkinDrawCommand::y.

被这些函数引用 eve::editor::UiOffscreenPreviewRenderer::render().


该类的文档由以下文件生成: