# S3 method for mppath
metapostGrob(x, gp = gpar(), name = NULL, digits=2, ...)
# S3 method for mpcontrols
metapostGrob(x, gp = gpar(), name = NULL, ...)
# S3 method for mpcontrolList
metapostGrob(x, gp = gpar(), name = NULL, ...)
grid.metapost(...)
Arguments
x
A MetaPost path, either unsolved (a description generated using
knot etc), or solved (as produced by
mptrace).
gp
Graphical parameters (from a call to gpar).
name
A name for the grob that is created.
digits
The number of decimal places to use when writing floating
point values in MetaPost code.