/examples/cube/info.htm
https://github.com/AntonTyutin/fpdf · HTML · 25 lines · 25 code · 0 blank · 0 comment · 0 complexity · 421860457f2bf9b8ddcf7ca2705301b1 MD5 · raw file
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
- <title>Cube</title>
- <style type="text/css">
- body {font-family:"Times New Roman",serif}
- h1 {font:bold 135% Arial,sans-serif; color:#4000A0; margin-bottom:0.9em}
- h2 {font:bold 95% Arial,sans-serif; color:#900000; margin-top:1.5em; margin-bottom:1em}
- </style>
- </head>
- <body>
- <h1>Cube</h1>
- <h2>Informations</h2>
- Author: <a href="mailto:lsalvino@hotmail.com?subject=Cube">Luciano Salvino</a><br>
- License: FPDF
- <h2>Description</h2>
- You can create a cube and rotate it around the x, y, z axes using the following function:<br>
- <br>
- <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>
- <br>
- where <code>a</code>, <code>b</code> and <code>c</code> are the cube dimensions; <code>scale</code> is the
- scaling factor; <code>alfax</code>, <code>alfay</code> and <code>alfaz</code> are the rotation angles.
- </body>
- </html>