diff options
-rw-r--r-- | html/en/drv/cairo.html | 4 | ||||
-rw-r--r-- | html/en/drv/dgn.html | 13 | ||||
-rw-r--r-- | html/en/func/text.html | 9 | ||||
-rw-r--r-- | html/en/screenshots_src_c.html | 10 | ||||
-rw-r--r-- | html/en/screenshots_src_lua.html | 7 | ||||
-rw-r--r-- | html/en/to_do.html | 1 |
6 files changed, 33 insertions, 11 deletions
diff --git a/html/en/drv/cairo.html b/html/en/drv/cairo.html index 55c788a..04cb3e9 100644 --- a/html/en/drv/cairo.html +++ b/html/en/drv/cairo.html @@ -126,8 +126,8 @@ used.</p> X-Windows font string format.</li> <li><a href="../func/text.html#cdFont"> <font face="Courier"><strong>Font</strong></font></a>: "Courier" is mapped to - "Courier New", "Helvetica" is mapped to "Arial", and "Times" is mapped to - "Times New Roman". Underline and Strikeout are NOT supported.</li> + "Monospace", "Helvetica" is mapped to "Sans", and "Times" is mapped to + "Serif". Underline and Strikeout are supported.</li> </ul> <h4>Colors </h4> <ul> diff --git a/html/en/drv/dgn.html b/html/en/drv/dgn.html index b3f0ecc..c8c4f70 100644 --- a/html/en/drv/dgn.html +++ b/html/en/drv/dgn.html @@ -6,6 +6,11 @@ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>CD_DGN</title> <link rel="stylesheet" type="text/css" href="../../style.css"> +<style type="text/css"> +.style1 { + font-family: Courier; +} +</style> </head> <body> @@ -115,19 +120,19 @@ <th>MicroStation Font Index</th> </tr> <tr> - <td><font face="Courier">CD_SYSTEM</font></td> + <td><font face="Courier">S</font><span class="style1">ystem</span></td> <td><font face="Courier">0</font></td> </tr> <tr> - <td><font face="Courier">CD_COURIER</font> </td> + <td><font face="Courier">Courier</font> </td> <td><font face="Courier">1</font></td> </tr> <tr> - <td><font face="Courier">CD_TIMES_ROMAN</font></td> + <td><font face="Courier">Times</font></td> <td><font face="Courier">2</font></td> </tr> <tr> - <td><font face="Courier">CD_HELVETICA</font></td> + <td><font face="Courier">H</font><span class="style1">elvetica</span></td> <td><font face="Courier">3</font></td> </tr> </table> diff --git a/html/en/func/text.html b/html/en/func/text.html index 12a54cd..c2735b0 100644 --- a/html/en/func/text.html +++ b/html/en/func/text.html @@ -6,6 +6,11 @@ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Text</title> <link rel="stylesheet" type="text/css" href="../../style.css"> +<style type="text/css"> +.style1 { + text-decoration: underline; +} +</style> </head> <body> @@ -14,8 +19,8 @@ <p>A raster text using a font with styles. The position the text is drawn depends on the text alignment attribute. </p> <p>The library has at least 4 standard typefaces: "System" (which depends on the driver and platform), - "Courier" (mono spaced - with serif), "Times" (proportional with serif) and "Helvetica" (proportional without serif). Each typeface can have + "<span class="style1">Courier</span>" (mono spaced + with serif), "<span class="style1">Times</span>" (proportional with serif) and "<span class="style1">Helvetica</span>" (proportional without serif). Each typeface can have some styles: Plain, <strong>Bold</strong>, <em>Italic</em> and a combination of <em><strong>Bold and Italic</strong></em>. As an alternative to the standard typefaces, you can use other typefaces or native driver typefaces with the function <strong>NativeFont</strong>, but they may work in a reduced set of drivers. diff --git a/html/en/screenshots_src_c.html b/html/en/screenshots_src_c.html index ec9f24a..2a85a70 100644 --- a/html/en/screenshots_src_c.html +++ b/html/en/screenshots_src_c.html @@ -23,6 +23,9 @@ .style4 { text-align: left; } +.style5 { + color: #008000; +} </style> </head> <body> @@ -842,12 +845,17 @@ cdCanvasVertex</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3 </font></p> <p> </p> <p><font SIZE="3" COLOR="#008000">/* Draw the image on the top-right -corner but increasing its actual size, and uses its full area */</font></p><p><font SIZE="3"> +corner but increasing its actual size, </font></p> +<p><span class="style5"> </span><font SIZE="3" COLOR="#008000">and uses +the complete image */</font></p><p><font SIZE="3"> cdCanvasPutImageRectRGBA</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">canvas</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3"> IMAGE_SIZE</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3"> IMAGE_SIZE</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3"> red</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3"> green</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3"> blue</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3"> alpha</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3"> +</font></p> +<p> +<font SIZE="3"> w </font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font> <font SIZE="3" COLOR="#800000">400</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3"> h </font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font> diff --git a/html/en/screenshots_src_lua.html b/html/en/screenshots_src_lua.html index 2243414..22a7e21 100644 --- a/html/en/screenshots_src_lua.html +++ b/html/en/screenshots_src_lua.html @@ -24,6 +24,9 @@ text-align: left; font-family: Arial, Helvetica, sans-serif; } +.style5 { + color: #008000; +} </style> </head> <body> @@ -654,7 +657,9 @@ canvas<font SIZE="3" COLOR="#ff00ff"><b>:</b></font>Vertex</font><font SIZE="3" <p>canvas<font SIZE="3" COLOR="#ff00ff"><b>:</b></font>End</font><font SIZE="3" COLOR="#ff00ff"><b>()</b> </font></p> <p> </p> <p><font SIZE="3" COLOR="#008000">-- Draw the image on the top-right corner but -increasing its actual size, and uses its full area </font></p><p><font SIZE="3"> +increasing its actual size, </font></p> +<p><span class="style5">-- </span><font SIZE="3" COLOR="#008000">and uses the +complete image </font></p><p><font SIZE="3"> canvas<font SIZE="3" COLOR="#ff00ff"><b>:</b></font>PutImageRectRGBA</font><font SIZE="3" COLOR="#ff00ff"><b>(</b></font><font SIZE="3">imagergba</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3"> w </font><font SIZE="3" COLOR="#ff00ff"><b>-</b></font><font SIZE="3"> </font> <font SIZE="3" COLOR="#800000">400</font><font SIZE="3" COLOR="#ff00ff"><b>,</b></font><font SIZE="3"> diff --git a/html/en/to_do.html b/html/en/to_do.html index 6a65f2a..be20e0c 100644 --- a/html/en/to_do.html +++ b/html/en/to_do.html @@ -31,7 +31,6 @@ <h3>Simulation</h3> <ul> <li>Implement line styles, line cap and line join for line with > 1.</li> - <li>Improve Sector rasterization.</li> </ul> <h3>PS</h3> <ul> |