The "sys_scale_init" Function
#
SyntaxArgument | Type | Description |
---|---|---|
entity | integer | The data structure of the entity to be scaled |
index | integer | The index of the row containing the target entity |
width | real | The current width in pixels of the reference area being scaled against |
height | real | The current height in pixels of the reference area being scaled against |
width_init | real | The initial width in pixels of the reference area being scaled against |
height_init | real | The initial height in pixels of the reference area being scaled against |
scaling | integer/macro | Sets the scaling mode to perform on the target entity |
#
DescriptionApplies a given scaling technique to the input entity on initialization. Scaling modes are unique from scale modifications and will persist through regular modifications.
As this script is run automatically by any actions that require scaling, it is almost never necessary to run sys_scale_init
manually.
See Macros & Keywords for a list of available scaling modes.
note
Note: This script should not be confused with vngen_set_scale
, which is completely unrelated.