class

ADPIScaler

Module
Arc
Header
#include "Arc/Widgets/ADPIScaler.h"
Namespace
Arcf

Public functions

Function details

ARC_WIDGET_ARGS

C++
ARC_WIDGET_ARGS(ADPIScaler) ARC_ATTR(float, DPIScale) ARC_CONTENT(ADPIScaler, Content) ARC_WIDGET_ARGS_END() void Construct(const CArguments& args)

SetDPIScale

C++
void SetDPIScale(float scale)

GetDPIScale

C++
float GetDPIScale() const

ComputeDesiredSize

C++
ArcVec2 ComputeDesiredSize(float scale) const override

ArrangeChildren

C++
void ArrangeChildren(const CGeometry& geo) override

OnPaint

C++
int32_t OnPaint(const CArcPaintArgs& args, const CGeometry& geo, CArcUIRenderer& renderer, int32_t layerId) const override

CanCacheDesiredSize

C++
bool CanCacheDesiredSize() const override

GetTypeName

C++
const char* GetTypeName() const override
Generated from Arc/Widgets/ADPIScaler.h via arc.json · Nov 5, 2026Version 1.0.0