diff options
Diffstat (limited to 'src/3rdparty/freetype/docs/reference/ft2-raster.html')
-rw-r--r-- | src/3rdparty/freetype/docs/reference/ft2-raster.html | 42 |
1 files changed, 19 insertions, 23 deletions
diff --git a/src/3rdparty/freetype/docs/reference/ft2-raster.html b/src/3rdparty/freetype/docs/reference/ft2-raster.html index 8eeaa7d0a..9840eb449 100644 --- a/src/3rdparty/freetype/docs/reference/ft2-raster.html +++ b/src/3rdparty/freetype/docs/reference/ft2-raster.html @@ -3,7 +3,7 @@ <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> -<title>FreeType-2.3.6 API Reference</title> +<title>FreeType-2.3.9 API Reference</title> <style type="text/css"> body { font-family: Verdana, Geneva, Arial, Helvetica, serif; color: #000000; @@ -31,7 +31,11 @@ </style> </head> <body> -<center><h1>FreeType-2.3.6 API Reference</h1></center> + +<table align=center><tr><td><font size=-1>[<a href="ft2-index.html">Index</a>]</font></td> +<td width="100%"></td> +<td><font size=-1>[<a href="ft2-toc.html">TOC</a>]</font></td></tr></table> +<center><h1>FreeType-2.3.9 API Reference</h1></center> <center><h1> Scanline Converter @@ -51,14 +55,6 @@ Scanline Converter <table align=center width="75%"><tr><td> <h4><a name="FT_Raster">FT_Raster</a></h4> <table align=center width="87%"><tr><td> -Defined in FT_IMAGE_H (freetype/ftimage.h). -</td></tr></table><br> -<table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre> - - <span class="keyword">typedef</span> <span class="keyword">struct</span> FT_RasterRec_* <b>FT_Raster</b>; - -</pre></table><br> -<table align=center width="87%"><tr><td> <p>A handle (pointer) to a raster object. Each object can be used independently to convert an outline into a bitmap or pixmap.</p> </td></tr></table><br> </td></tr></table> @@ -101,8 +97,8 @@ Defined in FT_IMAGE_H (freetype/ftimage.h). </table> </td></tr></table> <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>note</b></em></td></tr><tr><td> -<p>This structure is used by the span drawing callback type named <a href="ft2-raster.html#FT_SpanFunc">FT_SpanFunc</a> which takes the y-coordinate of the span as a a parameter.</p> -<p>The coverage value is always between 0 and 255.</p> +<p>This structure is used by the span drawing callback type named <a href="ft2-raster.html#FT_SpanFunc">FT_SpanFunc</a> which takes the y coordinate of the span as a a parameter.</p> +<p>The coverage value is always between 0 and 255. If you want less gray values, the callback function has to reduce them.</p> </td></tr></table> </td></tr></table> <hr width="75%"> @@ -133,7 +129,7 @@ Defined in FT_IMAGE_H (freetype/ftimage.h). <p></p> <table cellpadding=3 border=0> <tr valign=top><td><b>y</b></td><td> -<p>The scanline's y-coordinate.</p> +<p>The scanline's y coordinate.</p> </td></tr> <tr valign=top><td><b>count</b></td><td> <p>The number of spans to draw on this scanline.</p> @@ -149,7 +145,7 @@ Defined in FT_IMAGE_H (freetype/ftimage.h). <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>note</b></em></td></tr><tr><td> <p>This callback allows client applications to directly render the gray spans of the anti-aliased bitmap to any kind of surfaces.</p> <p>This can be used to write anti-aliased outlines directly to a given background bitmap, and even perform translucency.</p> -<p>Note that the ‘count’ field cannot be greater than a fixed value defined by the ‘FT_MAX_GRAY_SPANS’ configuration macro in ‘ftoption.h’. By default, this value is set to 32, which means that if there are more than 32 spans on a given scanline, the callback is called several times with the same ‘y’ parameter in order to draw all callbacks.</p> +<p>Note that the ‘count’ field cannot be greater than a fixed value defined by the ‘FT_MAX_GRAY_SPANS’ configuration macro in ‘ftoption.h’. By default, this value is set to 32, which means that if there are more than 32 spans on a given scanline, the callback is called several times with the same ‘y’ parameter in order to draw all callbacks.</p> <p>Otherwise, the callback is only called once per scan-line, and only for those scanlines that do have ‘gray’ pixels on them.</p> </td></tr></table> </td></tr></table> @@ -179,10 +175,10 @@ Defined in FT_IMAGE_H (freetype/ftimage.h). <p></p> <table cellpadding=3 border=0> <tr valign=top><td><b>y</b></td><td> -<p>The pixel's y-coordinate.</p> +<p>The pixel's y coordinate.</p> </td></tr> <tr valign=top><td><b>x</b></td><td> -<p>The pixel's x-coordinate.</p> +<p>The pixel's x coordinate.</p> </td></tr> <tr valign=top><td><b>user</b></td><td> <p>User-supplied data that is passed to the callback.</p> @@ -190,7 +186,7 @@ Defined in FT_IMAGE_H (freetype/ftimage.h). </table> </td></tr></table> <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>return</b></em></td></tr><tr><td> -<p>1 if the pixel is ‘set’, 0 otherwise.</p> +<p>1 if the pixel is ‘set’, 0 otherwise.</p> </td></tr></table> </td></tr></table> <hr width="75%"> @@ -219,10 +215,10 @@ Defined in FT_IMAGE_H (freetype/ftimage.h). <p></p> <table cellpadding=3 border=0> <tr valign=top><td><b>y</b></td><td> -<p>The pixel's y-coordinate.</p> +<p>The pixel's y coordinate.</p> </td></tr> <tr valign=top><td><b>x</b></td><td> -<p>The pixel's x-coordinate.</p> +<p>The pixel's x coordinate.</p> </td></tr> <tr valign=top><td><b>user</b></td><td> <p>User-supplied data that is passed to the callback.</p> @@ -230,7 +226,7 @@ Defined in FT_IMAGE_H (freetype/ftimage.h). </table> </td></tr></table> <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>return</b></em></td></tr><tr><td> -<p>1 if the pixel is ‘set’, 0 otherwise.</p> +<p>1 if the pixel is ‘set’, 0 otherwise.</p> </td></tr></table> </td></tr></table> <hr width="75%"> @@ -387,7 +383,7 @@ Defined in FT_IMAGE_H (freetype/ftimage.h). </table> </td></tr></table> <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>return</b></em></td></tr><tr><td> -<p>Error code. 0 means success.</p> +<p>Error code. 0 means success.</p> </td></tr></table> <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>note</b></em></td></tr><tr><td> <p>The ‘memory’ parameter is a typeless pointer in order to avoid un-wanted dependencies on the rest of the FreeType code. In practice, it is an <a href="ft2-system_interface.html#FT_Memory">FT_Memory</a> object, i.e., a handle to the standard FreeType memory allocator. However, this field can be completely ignored by a given raster implementation.</p> @@ -523,7 +519,7 @@ Defined in FT_IMAGE_H (freetype/ftimage.h). </pre></table><br> <table align=center width="87%"><tr><td> -<p>Invokes a given raster to scan-convert a given glyph image into a target bitmap.</p> +<p>Invoke a given raster to scan-convert a given glyph image into a target bitmap.</p> </td></tr></table><br> <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>input</b></em></td></tr><tr><td> <p></p> @@ -537,7 +533,7 @@ Defined in FT_IMAGE_H (freetype/ftimage.h). </table> </td></tr></table> <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>return</b></em></td></tr><tr><td> -<p>Error code. 0 means success.</p> +<p>Error code. 0 means success.</p> </td></tr></table> <table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>note</b></em></td></tr><tr><td> <p>The exact format of the source image depends on the raster's glyph format defined in its <a href="ft2-raster.html#FT_Raster_Funcs">FT_Raster_Funcs</a> structure. It can be an <a href="ft2-outline_processing.html#FT_Outline">FT_Outline</a> or anything else in order to support a large array of glyph formats.</p> |