[NTG-context] Access figure data?

Hans Hagen pragma at wxs.nl
Thu Oct 14 22:22:00 CEST 2010

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()


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 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

More information about the ntg-context mailing list