/examples/cube/info.htm

https://github.com/AntonTyutin/fpdf · HTML · 25 lines · 25 code · 0 blank · 0 comment · 0 complexity · 421860457f2bf9b8ddcf7ca2705301b1 MD5 · raw file

  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>Cube</title>
  6. <style type="text/css">
  7. body {font-family:"Times New Roman",serif}
  8. h1 {font:bold 135% Arial,sans-serif; color:#4000A0; margin-bottom:0.9em}
  9. h2 {font:bold 95% Arial,sans-serif; color:#900000; margin-top:1.5em; margin-bottom:1em}
  10. </style>
  11. </head>
  12. <body>
  13. <h1>Cube</h1>
  14. <h2>Informations</h2>
  15. Author: <a href="mailto:lsalvino@hotmail.com?subject=Cube">Luciano Salvino</a><br>
  16. License: FPDF
  17. <h2>Description</h2>
  18. You can create a cube and rotate it around the x, y, z axes using the following function:<br>
  19. <br>
  20. <code>Cube(<b>float</b> a, <b>float</b> b, <b>float</b> c, <b>float</b> scale, <b>float</b> alfax, <b>float</b> alfay, <b>float</b> alfaz)</code><br>
  21. <br>
  22. where <code>a</code>, <code>b</code> and <code>c</code> are the cube dimensions; <code>scale</code> is the
  23. scaling factor; <code>alfax</code>, <code>alfay</code> and <code>alfaz</code> are the rotation angles.
  24. </body>
  25. </html>