ScaleAnim(id, width, height[, smooth])
id
to the desired
width
and height
. Please note that scaling an animation on a 68k
processor can take quite some time. Optionally, you can choose to
have the scaled graphics interpolated by passing True
in the smooth
argument. The graphics will then be scaled using anti-alias.
New in V2.0: You can pass #KEEPASPRAT
as either width
or height
.
Hollywood will calculate the size then automatically by taking the
aspect-ratio of the anim into account.
Starting with Hollywood 2.0, width
and height
can also be a string
containing a percent specification, e.g. "50%".
ScaleAnim(1, 320, 240)The above code scales animation 1 to a format of 320x240.