Difference between revisions of "love.font.newRasterizer"

m
Line 8: Line 8:
 
=== Arguments ===
 
=== Arguments ===
 
{{param|ImageData|imageData|The image data containing the drawable pictures of font glyphs.}}
 
{{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 ===
 
{{param|Rasterizer|rasterizer|The rasterizer.}}
 
{{param|Rasterizer|rasterizer|The rasterizer.}}

Revision as of 16:17, 9 April 2012

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.

See Also

Other Languages