Handbook
Glossary
render-region ( line offset dim -- image )
Vocabulary
core-text
Inputs
line
an
object
offset
an
object
dim
an
object
Outputs
image
an
object
Definition
USING:
accessors
arrays
combinators
core-graphics
kernel
math
math.vectors
sequences
;
IN:
core-text
::
render-region
( line offset dim -- image )
line
prepare-render
line
render-loc>>
offset
first
line
render-ext>>
second
offset
second
-
dim
second
-
2array
v+
:>
loc dim
[
{
[
line offset dim loc
fill-line-backgrounds
]
[
loc
first2
[
neg
]
bi@
CGContextTranslateCTM
]
[
line loc dim
draw-line-region
]
}
cleave
]
make-bitmap-image
;