line.htm 955 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. <h1>Line</h1>
  10. <code>Line(<b>float</b> x1, <b>float</b> y1, <b>float</b> x2, <b>float</b> y2)</code>
  11. <h2>Description</h2>
  12. Trace une ligne entre deux points.
  13. <h2>Paramètres</h2>
  14. <dl class="param">
  15. <dt><code>x1</code></dt>
  16. <dd>
  17. Abscisse du premier point.
  18. </dd>
  19. <dt><code>y1</code></dt>
  20. <dd>
  21. Ordonnée du premier point.
  22. </dd>
  23. <dt><code>x2</code></dt>
  24. <dd>
  25. Abscisse du second point.
  26. </dd>
  27. <dt><code>y2</code></dt>
  28. <dd>
  29. Ordonnée du second point.
  30. </dd>
  31. </dl>
  32. <h2>Voir</h2>
  33. <a href="setlinewidth.htm">SetLineWidth()</a>,
  34. <a href="setdrawcolor.htm">SetDrawColor()</a>.
  35. <hr style="margin-top:1.5em">
  36. <div style="text-align:center"><a href="index.htm">Index</a></div>
  37. </body>
  38. </html>