[metapost] reflection in metapost

Pétiard François petiard.francois at free.fr
Fri Nov 17 17:16:15 CET 2006


picture pict;
draw pict;
draw pict rotate 90;   %rotation

pair A,B;
A:=(0,0);  %what you want
B:=(10,0); %what you want
draw pict reflectedabout(A,B);  %reflection axis (AB)



Peng Yu a écrit le 17/11/2006 16:55 :
> Hi,
> 
> Suppose I have have a picture in metapost, I can draw the rotated
> picture. I'm wondering if it is possible to draw reflected picture
> with respect to x or y axis.
> 
> picture pict;
> draw pict;
> draw pict rotate 90;
> 
> Thanks,
> Peng
> _______________________________________________
> metapost mailing list
> http://tug.org/mailman/listinfo/metapost
> 
> 
> 


-- 
petiard.francois at free.fr



More information about the metapost mailing list