b2dDrawMovieScaled

Category: 2D Overlay

Syntax:

b2dDrawMovieScaled:Void(handle:Int, x:Int, y:Int, width:Int, height:Int)


Parameters

Returns

Void



Summary

Draws movie scaled to target width/height (calculates scaleX/Y from dimensions, uses b2dSetScale+b2dDrawMovie).

Takes handle (movie handle from b2dLoadMovie, integer), x (screen X position in pixels), y (screen Y position in pixels), width (target width in pixels, desired rendered width), height (target height in pixels, desired rendered height).

Returns nothing.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn