classes
close_path erase glyph move_to
control_point fill label new_path
curve_to gif line_to stroke
SYNTAX
g = new Glyph()
DESCRIPTION
Specification of a drawing. The drawing can be rendered on a Graph
as many times as desired using
graph.glyph(g, x, y, scalex, scaley, angle)
The drawing style uses commands reminiscent of postscript.
SEE ALSO
Graph glyph
Glyph
SYNTAX
g = g.path()
DESCRIPTION
Begin a new path.
Glyph
SYNTAX
g = g.m(x, y)
DESCRIPTION
Set the current point to the coordinates.
Glyph
SYNTAX
g = g.l(x, y)
DESCRIPTION
A line from the current point to the coordinates.
Glyph
SYNTAX
g = g.s()
g = g.s(colorindex)
g = g.s(colorindex, brushindex)
DESCRIPTION
Render the current path as a line.
Glyph
SYNTAX
g = g.close()
DESCRIPTION
A line from the current point to the first point of the path.
Glyph
SYNTAX
g = g.fill()
g = g.fill(colorindex)
DESCRIPTION
For a closed path, fill the interior with the indicated color.
Glyph
SYNTAX
g = g.curve(x,y, x1,y1, x2,y2)
DESCRIPTION
Draw a curve from the current point to x,y
Glyph
SYNTAX
g = g.cpt(x,y)
DESCRIPTION
Draw a small open rectangle at the coordinates. Intended to indicate
special locations on the glyph which can be selected. Not very useful
at this time.
Glyph
SYNTAX
g = g.erase()
DESCRIPTION
The drawing is empty
Glyph
SYNTAX
g = g.label("string", x, y, fixtype, colorindex)
DESCRIPTION
Not implemented
Glyph
SYNTAX
g = g.glyph(glyphobject, x, y, scale, angle)
DESCRIPTION
Not implemented
Glyph
SYNTAX
g = g.gif("filename")
DESCRIPTION
Reads the gif image in the file. All Graph glyph#Graph arguments still work
when the glyph contains a gif image. The gif image is drawn first so
other drawing specs will appear on top of it.
SEE ALSO
gif glyph
neuron/general/classes/glyph.hel : 1711 Aug 30