# Created by Octave 3.6.2, Sun Jun 10 09:53:40 2012 UTC # name: cache # type: cell # rows: 3 # columns: 3 # name: # type: sq_string # elements: 1 # length: 7 svgload # name: # type: sq_string # elements: 1 # length: 405 -- Function File: SVG = loadSVG (FILENAME) Reads the plain SVG file FILENAME and returns an SVG structure. In the current version only SVG path elements are parsed and stored in the field path of the SVG structure. The coordinates of the path are not modified in anyway. This produces the path to be ploted vertically reflected. See also: svgnormalize, svgpath2polygon # name: # type: sq_string # elements: 1 # length: 63 Reads the plain SVG file FILENAME and returns an SVG structure. # name: # type: sq_string # elements: 1 # length: 12 svgnormalize # name: # type: sq_string # elements: 1 # length: 402 -- Function File: SVGN = loadSVG (SVG) Scales and reflects the SVG structure and returns a modified SVGN structure. The height and width of the SVG are scaled such that the diagonal of the bounding box has length 1. Coordinates are trasnfomed such that a plot of the paths coincides with the visualization of the original SVG. See also: svgload, svgpath2polygon # name: # type: sq_string # elements: 1 # length: 76 Scales and reflects the SVG structure and returns a modified SVGN structure. # name: # type: sq_string # elements: 1 # length: 15 svgpath2polygon # name: # type: sq_string # elements: 1 # length: 513 -- Function File: P = svgpath2polygon (SVGPATH) Converts the SVG path structure SVGPATH to an array of polygons compatible with the geometry package and matGeom (`http://matgeom.sf.net'). SVGPATH is a substructure of the SVG structure output by loadSVG. This function extracts the field named "coord" if there is only one path. If there are more than oe path it puts the "coord" field of each path in the same array, separated by nans. See also: svgnormalize, svgload # name: # type: sq_string # elements: 1 # length: 80 Converts the SVG path structure SVGPATH to an array of polygons compatible with