Skip to content

Scale

Scale
Output Matrix
Output
Scale
(1, 1)
Center
(0, 0)
Image
Input Matrix
Identity

Category Matrix
Is Pair Node: No


Creates a scaling matrix that can be applied to images or other transformations.


Type: VecD
Default: (1, 1)

The scale factor to apply to the matrix. This determines how much the matrix is scaled in both the x and y dimensions, affecting the size of the resulting image or transformation.

Type: VecD
Default: (0, 0)

The center point around which the scaling is applied. This point serves as the pivot for the scaling transformation.

Type: Painter
Default: unset

The image to apply the scaling to.

Type: Matrix3x3
Default: Identity

Matrix to concatenate with the scaling. This allows for combining multiple transformations into a single matrix, enabling complex transformations.


Type: Matrix3x3
Default: Identity

The resulting matrix after applying the scaling. This matrix can be used for further transformations or rendering operations.

Type: Painter
Default: unset

Painter instruction with the applied scaling. This output can be used to render the transformed image with the specified scaling.