On 14-10-2010 10:10, Peter Rolf wrote:
Nice to have. Is this also possible from the lua side? I ask, because I need the pixel size of a graphic for some border checking ('clip' a frame out of a bitmap). Currently I use \getfiguredimensions from the tex side, as I haven't found a way in lua yet.
local f = figures.current() f.used.xresolution eventually there will be a documented interface for the lua end (for the moment I want to have the freedom to change the code) as I need to add a few more wrappers. Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------