[NTG-context] importing figures in metapost

Mojca Miklavec mojca.miklavec.lists at gmail.com
Sun Jun 12 17:50:34 CEST 2005


andrea valle wrote:
> But: is it possible to import an external figure inside metapost giving 
> it a precise place in terms of xy coordinates?

Sure:

externalfigure "filename.pdf"
	xyscaled (theWidth, theHeight)
	shifted (theLowerLeftX, theLowerLeftY);

(However, I don't know if there's a way to include a picture without the 
need to provide width and height explicitly.)

Mojca


More information about the ntg-context mailing list