Handbook
Glossary
<CGBitmapContext> ( data dim -- context )
Vocabulary
core-graphics
.
private
Inputs
data
an
object
dim
an
object
Outputs
context
an
object
Definition
USING:
core-graphics
kernel
math
sequences
;
IN:
core-graphics.private
:
<CGBitmapContext>
( data dim -- context )
[
first2
8
]
[
first
4
*
]
bi
bitmap-color-space
bitmap-flags
CGBitmapContextCreate
[
"CGBitmapContextCreate failed"
throw
]
unless*
;