Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在一条线的起点绘制一条垂直线..例如a从坐标(x,y)开始,到(x1,y1)结束。我需要从点(x,y)绘制垂直线。
从 (x,y)->(x+(y1-y),y-(x1-x)) 或 (x,y)->(x-(y1-y),y+(x1-x))绘制