ui.gadgets.charts.lines.private vocabulary
Factor handbook ยป Vocabulary index


Summary

Words

Ordinary words
WordStack effect
(drawable-chunks)( chunks min max -- chunks' )
(line-vertices)( seq -- vertices )
(make-pair)( prev next min max -- next' )
2-point-chunk( left right ymin ymax -- chunk )
adjusted-head-slice( n elt plus-one? seq -- slice )
adjusted-tail-slice( n elt plus-one? seq -- slice )
between<=>( value min max -- <=> )
calc-line-slope( point1 point2 -- slope )
calc-point-y( slope y point -- xy )
calc-x( slope y point -- x )
calc-y( slope x point -- y )
clip-by-x( min,max pairs -- pairs' )
drawable-chunks( data ymin,ymax -- chunks )
first-point( chunks -- first-point )
fix-left-chunk( left right ymin ymax -- left' )
fix-right-chunk( left right ymin ymax -- right' )
flip-y-axis( chunks ymin,ymax -- chunks )
last-point( chunks -- last-point )
left-cut-x( xmin pairs -- seq )
min-max-cut( min,max pairs -- seq )
right-cut-x( xmax pairs -- seq )
scale-chunks( chunks xwidth xmin,xmax yheight ymin,ymax -- chunks' )
scale-mapper( width min,max -- quot: ( value -- value' ) )
search-first( elt seq -- index elt )
search-first?( elt seq -- index elt exact-match? )
x( seq -- first )
x-in-bounds?( min,max pairs -- ? )
xyy>chunk( x y1 y2 -- chunk )
y( seq -- second )
y-at( x point1 point2 -- y )
y-in-bounds?( min,max pairs -- ? )


Files