Difference between revisions of "AMOSi:Get Cblock"

From Amiga Coding
Jump to: navigation, search
m (1 revision(s))
 
m (1 revision(s))
 
(No difference)

Latest revision as of 01:51, 17 November 2007

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.