scale
Returns a pixmap scaled by a given factor.
Syntax
-
scale(pm, f)-
pmis a pixmap -
fis a positive real number
-
Description
scale(pm, f) returns pm scaled by a factor of k. If k > 1, the result is magnified; if k < 1, the result is shrunk.
Examples
scale(ComputePixmap(10, 10, x, y, RandomColor()), 20)
