Difference between revisions of "AMOSi:Get Block"
Spellcoder (talk | contribs) m (1 revision(s)) |
Spellcoder (talk | contribs) (Extracted from the AMOSPro V2.00 helpfile) |
(No difference)
|
Revision as of 02:45, 17 November 2007
an example can be found on AMOSPro_Examples:Examples/H-6/Help_66.AMOS
Grabs a rectangular screen BLOCK from the screen, and saves it into memory. An optional blitter mask can be created for your block as well. This ensures that colour zero will be treated as transparent when the block is pasted onto the screen.
Get Block n,x,y,width,height
Gets a block with number n from x,y to x+w,y+h on the current screen.
Get Block n,x,y,width,height,mask
If mask=1 then a mask will be generated for your block.