Why CDC::LineTo(pt) draw a line not include pt
C / C++ / MFC
5
Posts
2
Posters
0
Views
1
Watching
-
By MSDN, that CDC::LineTo(pt) will draw a line to, but not include the specified "pt". Why is that? any special purpose?:confused:
-
Because that is the way Microsoft designed it; maybe you should ask them. In many cases the next drawing command will start from the
x,y
point of the previous one, so I assume this is for efficiency. -
thanks, you said ask microsoft. do you mean I should post this to MSDN forum? or just mail to someone?
-
fitatc wrote:
you said ask microsoft. do you mean I should post this to MSDN forum? or just mail to someone?
Try one of the Microsoft forums. How important is it to you to know?