metapost question
In MetaPost: After putting something in a picture, one can draw its boundaries with "draw boundingbox thepicture". Is it possible to obtain at that point the dimensions of this boudingbox in order to do some calculations with them? Hans van der Meer
Am 01.12.2011 23:25, schrieb Hans van der Meer:
In MetaPost: After putting something in a picture, one can draw its boundaries with "draw boundingbox thepicture". Is it possible to obtain at that point the dimensions of this boudingbox in order to do some calculations with them?
urcorner boundingbox currentpicture should hold the wanted values (untested); maybe you have to take 'llcorner' into account too. Best wishes, Peter
Hans van der Meer
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (2)
-
Hans van der Meer
-
Peter Rolf