BitBlt example
Last updated at 11:04 am UTC on 11 March 2017
BitBlt example:
The following (somewhat artificial) code copies
a square area (0 @ 0 to 100 @ 100)
from the display onto another area on the display.
(BitBlt
destForm: Display
sourceForm: Display
halftoneForm: nil
combinationRule: Form over
destOrigin: 120@120
sourceOrigin: 0@0
extent: 100@100
clipRect: Display computeBoundingBox
)
copyBits
See also:
Pixel access starts at zero
Point