Changes

Jump to navigation Jump to search
1,489 bytes added ,  14:00, 26 November 2021
Created page with "Documentation for \processMPbuffer"
<cd:commandgroup name="processMPbuffer" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc>The command <tt>\processMPbuffer</tt> processes metapost buffers
</cd:shortdesc>
<cd:variants>
<cd:command category="graphics" file="meta-ini.mkiv" interfacedate="2020-07-14T09:24" interfacefile="i-metapost.xml" keywords="metapost" level="document" name="processMPbuffer" variantnumber="1">
<cd:arguments>
<cd:keywords list="yes" optional="yes" ordinal="1">
<cd:keywordsdoc></cd:keywordsdoc>
<cd:constant type="cd:name"></cd:constant>
</cd:keywords>
</cd:arguments>
</cd:command>
</cd:variants>
<cd:description>Process one or more buffers containing [[MetaPost]] code as though the buffers were joined (if more than one) and wrapped in {{cmd|startMPcode|...\stopMPcode}}.</cd:description>
<cd:examples><cd:example title=""><context source="yes">
\startbuffer[figure1]
fill fullcircle scaled 1cm withcolor black;
\stopbuffer

\startbuffer[frame]
draw (bbox currentpicture) withcolor blue;
\stopbuffer

\processMPbuffer[figure1]
\processMPbuffer[frame]
\processMPbuffer[figure1, frame]
</context></cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>
<cd:source file="meta-ini.mkiv" originator="system"></cd:source>
<cd:wikipage originator="system" page="Category:Graphics"></cd:wikipage>
<cd:wikipage originator="system" page="Keywords:Metapost"></cd:wikipage>
<cd:wikipage page="MetaPost"></cd:wikipage></cd:seealso>
</cd:commandgroup>

Navigation menu