Difference between revisions of "love.font.newRasterizer"
Danielmario2 (talk | contribs) m |
Danielmario2 (talk | contribs) m (Source code formatting. Better imageData description.) |
||
Line 4: | Line 4: | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | rasterizer = love.font.newRasterizer( | + | rasterizer = love.font.newRasterizer( imageData, glyphs ) |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
− | {{param|ImageData| | + | {{param|ImageData|imageData|The image data containing the drawable pictures of font glyphs.}} |
{{param|string|glyphs|The sequence of glyphs in the imagedata.}} | {{param|string|glyphs|The sequence of glyphs in the imagedata.}} | ||
=== Returns === | === Returns === |
Revision as of 13:50, 23 October 2010
Available since LÖVE 0.7.0 |
This function is not supported in earlier versions. |
Creates a new Rasterizer.
Function
Synopsis
rasterizer = love.font.newRasterizer( imageData, glyphs )
Arguments
ImageData imageData
- The image data containing the drawable pictures of font glyphs.
string glyphs
- The sequence of glyphs in the imagedata.
Returns
Rasterizer rasterizer
- The rasterizer.