svg vocabulary
Factor handbook > Vocabulary index


Summary
Parsers for SVG data

Meta-data
Tags:xml, graphics
Authors:Joe Groff


Words

Tuple classes
ClassSuperclassSlots
closepath tuple
curveto tuplep1 p2 p relative?
elliptical-arc tupleradii x-axis-rotation large-arc? sweep? p relative?
horizontal-lineto tuplex relative?
lineto tuplep relative?
moveto tuplep relative?
quadratic-bezier-curveto tuplep1 p relative?
smooth-curveto tuplep2 p relative?
smooth-quadratic-bezier-curveto tuplep relative?
vertical-lineto tupley relative?


Ordinary words
WordStack effect
(set-relative)( args rel -- args )
inkscape-name( string -- name )
sodipodi-name( string -- name )
svg-name( string -- name )
svg-path>array( input -- ast )
svg-string>number( string -- number )
svg-transform>affine-transform( input -- ast )
tag-d( tag -- d )
tag-transform( tag -- transform )
xlink-name( string -- name )


Class predicate words
WordStack effect
closepath?( object -- ? )
curveto?( object -- ? )
elliptical-arc?( object -- ? )
horizontal-lineto?( object -- ? )
lineto?( object -- ? )
moveto?( object -- ? )
quadratic-bezier-curveto?( object -- ? )
smooth-curveto?( object -- ? )
smooth-quadratic-bezier-curveto?( object -- ? )
vertical-lineto?( object -- ? )


Files