ScaleBrush(id, width, height[, smooth])
idto the specified dimensions. Optionally, you can choose to have the scaled graphics interpolated by passing
Truein the smooth argument. The graphics will then be scaled using anti-alias.
Please note: You should always do scale operations with the original brush. For instance, if you scale brush 1 to 12x8 and then scale it back to 640x480, you will get a messed image. Therefore you should always keep the original brush and scale only copies of it.
New in V2.0: You can pass
#KEEPASPRAT as either
Hollywood will calculate the size then automatically by taking the
aspect-ratio of the brush into account.
Starting with Hollywood 2.0,
height can also be a string
containing a percent specification, e.g. "50%".
ScaleBrush(1,640,480)Scales brush 1 to a resolution of 640x480.