Hello,
I have drawn a line on the VB Form as follows:
VB Code:
Line (OriginX, OriginY)-(OriginX + WeightX, OriginY - WeightY)
Where OriginX and OriginY are both zero and WeightX and WeightY are any two values. Now I want to draw a line which is perpendicular to this line on the origin point. For clear viewing, I have shifted the axis to some other point.
So, my question is how can I find two points to construct a line which is perpendicular to another line whose one point is origin and other point is also known.
Any help will be appreciated.
Thanks.




Reply With Quote