G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FImGuiDPIScaleInfo Struct Reference

Struct with DPI scale data. More...

Public Member Functions

Functions
FImGuiDPIScaleInfo & opAssign (FImGuiDPIScaleInfo Other)

Public Attributes

DPI Scale
float32 Scale
 An optional scale to apply on top or instead of the curve-based scale.
FRuntimeFloatCurve DPICurve
 Curve mapping resolution height to scale.
bool bScaleWithCurve
 Whether to use curve-based scaling. If enabled, Scale will be multiplied by a value read from the DPICurve. If disabled, only the Scale property will be used.
EImGuiDPIScaleMethod ScalingMethod
 Whether to scale in ImGui or in Slate. Scaling in ImGui gives better looking results but Slate might be a better option when layouts do not account for different fonts and styles. When scaling in Slate, ImGui canvas size will be adjusted to get the screen size that is the same as defined in the Canvas Size property.

Detailed Description

Struct with DPI scale data.

Member Function Documentation

◆ opAssign()

Member Data Documentation

◆ bScaleWithCurve

bool bScaleWithCurve

Whether to use curve-based scaling. If enabled, Scale will be multiplied by a value read from the DPICurve. If disabled, only the Scale property will be used.

◆ DPICurve

Curve mapping resolution height to scale.

◆ Scale

float32 Scale

An optional scale to apply on top or instead of the curve-based scale.

◆ ScalingMethod

EImGuiDPIScaleMethod ScalingMethod

Whether to scale in ImGui or in Slate. Scaling in ImGui gives better looking results but Slate might be a better option when layouts do not account for different fonts and styles. When scaling in Slate, ImGui canvas size will be adjusted to get the screen size that is the same as defined in the Canvas Size property.