MetaPost is both a programming language and the interpreter that runs it, used to produce vector graphic diagrams from a geometric and algebraic description. The language and its interpreter are both derived from Donald Knuth's Metafont. MetaPost shares Metafont's declarative syntax for manipulating lines, curves, points and geometric transformations, but where Metafont produces fonts as raster image files at a fixed resolution, MetaPost produces vector output as EPS, SVG or PNG files, with RGB or CMYK colour instead of monochrome. Text labels can be set in a specified font or typeset with TeX. MetaPost is distributed with the MiKTeX and TeX Live distributions, and the encapsulated PostScript it produces can be included in LaTeX, ConTeXt and plain TeX documents. Many of its limits come from Metafont: paths can have only one segment, so regions are simply connected, and regions can be filled only with uniform colours.
Facts
First Released Primary Use Domain Execution Model Sources
1. Programming Language Database (PLDB): METAPOST (PLDB)
Programming Language Database (PLDB)LeadQuote, Lead
METAPOST is a programming language created in 1994 by John D. Hobby.
View the Source 2. MetaPost (Wikipedia)
Lead
MetaPost refers to both a programming language and the interpreter of the MetaPost programming language.
Lead, vector graphic output
MetaPost produces vector graphic diagrams from a geometric/algebraic description.
View the SourceReader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.
Sign in to dispute this or suggest a correction.