summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorscuri <scuri>2010-06-19 14:57:52 +0000
committerscuri <scuri>2010-06-19 14:57:52 +0000
commita85cc5d3423ef939806bd4574488af40ff3e43c6 (patch)
treee8858b1637011182f426f57fa6caf16c838aaee2 /html
parent29504080b0e33c4ea547e73ff65bd2e123c6d047 (diff)
*** empty log message ***
Diffstat (limited to 'html')
-rw-r--r--html/en/drv/cairo.html4
-rw-r--r--html/en/drv/dgn.html13
-rw-r--r--html/en/func/text.html9
-rw-r--r--html/en/screenshots_src_c.html10
-rw-r--r--html/en/screenshots_src_lua.html7
-rw-r--r--html/en/to_do.html1
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>: &quot;Courier&quot; is mapped to
- &quot;Courier New&quot;, &quot;Helvetica&quot; is mapped to &quot;Arial&quot;, and &quot;Times&quot; is mapped to
- &quot;Times New Roman&quot;. Underline and Strikeout are NOT supported.</li>
+ &quot;Monospace&quot;, &quot;Helvetica&quot; is mapped to &quot;Sans&quot;, and &quot;Times&quot; is mapped to
+ &quot;Serif&quot;. 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: &quot;System&quot; (which depends on the driver and platform),
- &quot;Courier&quot; (mono spaced
- with serif), &quot;Times&quot; (proportional with serif) and &quot;Helvetica&quot; (proportional without serif). Each typeface can have
+ &quot;<span class="style1">Courier</span>&quot; (mono spaced
+ with serif), &quot;<span class="style1">Times</span>&quot; (proportional with serif) and &quot;<span class="style1">Helvetica</span>&quot; (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>&nbsp;</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">&nbsp;&nbsp; </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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+<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>&nbsp;</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 &gt; 1.</li>
- <li>Improve Sector rasterization.</li>
</ul>
<h3>PS</h3>
<ul>