[NTG-context] Text with background (overlay with a line by MP)
LPr at pontex.cz
Sat Mar 19 23:34:05 CET 2011
On Sat, 19 Mar 2011 23:13:46 +0100, Aditya Mahajan <adityam at umich.edu> wrote:
> You do not need yshifted. But you need to set the bounding box of the
> resulting image correctly.
> path p; p := (0,0) -- (OverlayWidth,0);
> draw p withpen pencircle scaled 1mm withcolor .667red;
> setbounds currentpicture to boundingbox OverlayBox ;
Perfect, thank you.
More information about the ntg-context