[metapost] boxit and grouping

Hans Hagen pragma at wxs.nl
Thu May 26 15:31:25 CEST 2005


Ovidiu Gheorghies wrote:
> Hi.
> 
> I try to compile the code
> 
>   boxjoin(a.se=b.nw; a.ne=b.nw);
>   boxit.aaa(btex A etex);
>   boxit.bbb(btex B etex);
>   aaa.nw = (30,30);
>   drawboxed(aaa, bbb);
>   
>    begingroup
>      save aaa, bbb, a, b;
>      boxjoin(a.se=b.nw; a.ne=b.nw);
>      boxit.aaa(btex A etex); % line 71
>      boxit.bbb(btex B etex);
>      aaa.nw = (50,50);
>      drawboxed(aaa, bbb);
>    endgroup;

maybe

   aaa.nw := (30,30);

      aaa.nw := (50,50);

helps

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the metapost mailing list