pdf.canvas vocabulary
Factor handbook ยป Vocabulary index


Summary

Metadata
Parents:pdf


Words

Tuple classes
ClassSuperclassSlots
canvas tuplex y width height margin col-width font stream foreground background page-color inset line-height metrics
margin tupleleft right top bottom


Symbol words
+line-height+


Ordinary words
WordStack effect
(width)( canvas -- n )
<canvas>( -- canvas )
<margin>( left right top bottom -- margin )
?break( canvas -- )
?line-break( canvas -- )
avail-height( canvas -- n )
avail-lines( canvas -- n )
avail-width( canvas -- n )
draw-background( canvas line -- )
draw-line( canvas width -- )
draw-page-color( canvas -- )
draw-text( canvas lines -- )
draw-text1( canvas line -- canvas )
height( canvas -- n )
inc-lines( canvas n -- )
inc-x( canvas n -- )
inc-y( canvas n -- )
line-break( canvas -- )
line-height( canvas -- n )
margin-x( canvas -- n )
margin-y( canvas -- n )
set-style( canvas style -- canvas )
text-fits?( canvas string -- ? )
width( canvas -- n )
x( canvas -- n )
y( canvas -- n )


Class predicate words
WordStack effect
canvas?( object -- ? )
margin?( object -- ? )


Files