document that DrawLine() doesn't draw the last point

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2003-08-04 10:14:52 +00:00
parent 517fb87124
commit 900491787c

View File

@ -319,7 +319,9 @@ This can be the simplest way of drawing bitmaps on a window.
\func{void}{DrawLine}{\param{wxCoord}{ x1}, \param{wxCoord}{ y1}, \param{wxCoord}{ x2}, \param{wxCoord}{ y2}}
Draws a line from the first point to the second. The current pen is used
for drawing the line.
for drawing the line. Note that the point $(x2, y2)$ is {\emph not} part of the
line and is not drawn by this function (this is consistent with the behaviour
of many other toolkits).
\membersection{wxDC::DrawLines}\label{wxdcdrawlines}