{{htmlmetatags>metatag-robots=() metatag-title=(PUT BITMAP | ugBASIC User Manual) metatag-keywords=(ugBASIC,Commodore 64,Commodore PLUS/4,ZX Spectrum) metatag-description=(Manual page for PUT BITMAP) metatag-media-og:image=(:ugbasic:logo-ugbasic-fb.png) metatag-og:title=(PUT BITMAP | ugBASIC User Manual) metatag-og:description=(Manual page for PUT BITMAP) }} ====== ugBASIC User Manual ====== ===== PUT BITMAP ✓ ===== ===== SYNTAX ===== PUT BITMAP resource [ AT [x],[y] ] [DOUBLE Y] PUT BITMAP resource FRAME f [ AT [x],[y] ] [DOUBLE Y] PUT BITMAP resource STRIP s FRAME f [ AT [x],[y] ] [DOUBLE Y] ==== PURPOSE ==== This function draws the bitmap component of an image at a specific position on the screen. The programmer can draw on the screen a single bitmap (''IMAGE''), a frame of a series of bitmaps (''ATLAS'') or a frame of a strip of a sequence of bitmaps (''SEQUENCE''). In all cases the syntax changes slightly. Every ''PUT BITMAP'' can be followed by a flag that modify the wayt the image will be drawn on the screen. The ''DOUBLE Y'' flag will double the vertical size of the image. This flag could be not available on all targerts and graphical modes. ==== EXAMPLE ==== PUT BITMAP airplane AT 10,10 See also the following example files: * ''[[https://github.com/spotlessmind1975/ugbasic/tree/main/examples/contrib_themill.bas|contrib_themill.bas]]'' * ''[[https://github.com/spotlessmind1975/ugbasic/tree/main/examples/defines_screen_01.bas|defines_screen_01.bas]]'' * ''[[https://github.com/spotlessmind1975/ugbasic/tree/main/examples/images_load_05.bas|images_load_05.bas]]'' ==== ABBREVIATION ==== PuBm ==== AVAILABLE ON ==== ==== SEE ALSO ==== [[PUT IMAGE]] ==== ANY PROBLEM? ==== If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please [[https://github.com/spotlessmind1975/ugbasic/issues/new?title=ISSUE ON PUT BITMAP|open an issue]] for this keyword on GitHub. Thank you!===== POWERED BY ===== [[:ugbasic:user:index|{{ :ugbasic:user:logo-ugbasic.png?nolink&600 |}}]]