载入中...
搜索中...
未找到
ParentScaler.cpp
浏览该文件的文档.
38 auto settings = table.addClass("ParentScalerSettings", ssq::Class::Ctor<ParentScalerSettings()>());
The single Squirrel projection for common Result, Status and Value.
static Diagnostic error(DiagnosticCode code, std::string message, std::string path={})
Construct an error diagnostic with the standard error severity.
Definition Diagnostic.cpp:21
static Result failure(Status status)
Construct a failed result from a structured status.
Definition Result.h:196
Definition Component.cpp:7
void exposeParentScalerBindings(ssq::Table &table)
Register ParentScaler value types and evaluator with the root script table.
Definition ParentScaler.cpp:37
Result< void > evaluateParentScaler(ParentScalerState *state, ParentScalerOutput *output, const ParentScalerSettings *settings, const ParentScalerInput *input)
Evaluate Pcg ParentScaler when canvas height changes.
Definition ParentScaler.cpp:10
@ InvalidArgument
Height write emitted for every valid target rect.
Definition ParentScaler.h:33
Configuration for Pcg ParentScaler canvas-height behavior.
Definition ParentScaler.h:14
Caller-owned change detector retained across evaluations.
Definition ParentScaler.h:28