AMOSi:Get Cblock

From Amiga Coding
Revision as of 02:45, 17 November 2007 by Spellcoder (talk | contribs) (Extracted from the AMOSPro V2.00 helpfile)
Jump to: navigation, search

an example can be found on AMOSPro_Examples:Examples/H-6/Help_66.AMOS


Gets a rectangular screen BLOCK from the screen, and compresses it as much as possible as it's being saved into memory.


Get Cblock n,x,y,width,height

Grabs a block with number n from x,y to x+w,y+h on the current screen. Note that x and w are automatically rounded down to the nearest multiple of eight.