Dear all, I use MetaFun to create a figure and embed it using \processMPbuffer[]. for example, \startbuffer[test] draw fullcircle scaled 3cm; \stopbuffer \starttext \placefigure[][]{} \processMPbuffer[test] \stoptext But sometimes, I need to rescaling the mp figure to fit the page. Is there a way of rescaling the figure at the stage \processMPbuffer or \useMPgraphic? In the above example, I got a circle of radius 3cm. How to get a circle of radius 2cm? Thank you for reading. best regards, Dalyoung
On 14-11-2011 08:23, Jeong Dalyoung wrote:
\startbuffer[test] draw fullcircle scaled 3cm; \stopbuffer
\starttext \placefigure[][]{} \processMPbuffer[test] \stoptext
currentpicture := currentpicture xsized(TextWidth) ; or \placefigure[][]{}{\scale[width=\textwidth]{\processMPbuffer[test]}} -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Jeong Dalyoung