3
votes
4answers
416 views

How can I draw a right angle with MetaPost?

I want to use MetaPost to draw a right angle BAC. A = (20,30), B = (0,0), the top of the angle is point A. How can I compute the coordinate of point C?