scale_image - Set the current scale-factor for the specified image.
nil
scale_image( vid, sx, sy, time, interp )
Alter the scale transform for vid . These values are relative to the
initial dimensions for the object in question, while function such as
resize_image internally converts the absolute values to relative scale. Interp
can be set to one of the constants ( INTERP_LINEAR , INTERP_SINE
, INTERP_EXPIN , INTERP_EXPOUT , INTERP_EXPINOUT ,
INTERP_SMOOTHSTEP ).
function scale_image0()
a = fill_surface(128, 128, 0, 255, 0, 64, 64);
scale_image(a, 2.0, 2.0, 100);
show_image(a);
end