Modifies a transform such that a scaling occurs on any points multiplied by the transform.

graphics-ports

apply-scale `transform` `sx` `sy` => `transform`

transform⇩ |
A transform. |

sx⇩ |
A real number. |

sy⇩ |
A real number. |

transform |
A transform. |

The function `apply-scale`

modifies `transform` such that a scaling of `sx` in `x` and `sy` in `y` is performed on any points multiplied by the transform. Any operations already contained in the transform occur before the new scaling.

`apply-scale`

returns the transform.

See graphics-state for details of how a transform is used.

(example-edit-file "capi/graphics/metafile-rotation")

apply-rotation

apply-rotation-around-point

apply-translation

graphics-state

transform

*CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:44*