line.htm 980 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <HTML>
  3. <HEAD>
  4. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
  5. <TITLE>Line</TITLE>
  6. <LINK TYPE="text/css" REL="stylesheet" HREF="../fpdf.css">
  7. </HEAD>
  8. <BODY>
  9. <H2>Line</H2>
  10. <TT>Line(<B>float</B> x1, <B>float</B> y1, <B>float</B> x2, <B>float</B> y2)</TT>
  11. <H4 CLASS='st'>Version</H4>
  12. 1.0
  13. <H4 CLASS='st'>Description</H4>
  14. Draws a line between two points.
  15. <H4 CLASS='st'>Parameters</H4>
  16. <TT><U>x1</U></TT>
  17. <BLOCKQUOTE>
  18. Abscissa of first point.
  19. </BLOCKQUOTE>
  20. <TT><U>y1</U></TT>
  21. <BLOCKQUOTE>
  22. Ordinate of first point.
  23. </BLOCKQUOTE>
  24. <TT><U>x2</U></TT>
  25. <BLOCKQUOTE>
  26. Abscissa of second point.
  27. </BLOCKQUOTE>
  28. <TT><U>y2</U></TT>
  29. <BLOCKQUOTE>
  30. Ordinate of second point.
  31. </BLOCKQUOTE>
  32. <H4 CLASS='st'>See also</H4>
  33. <A HREF="setlinewidth.htm">SetLineWidth()</A>,
  34. <A HREF="setdrawcolor.htm">SetDrawColor()</A>.
  35. <HR STYLE="margin-top:1.2em">
  36. <DIV ALIGN="CENTER"><A HREF="index.htm">Index</A></DIV>
  37. </BODY>
  38. </HTML>