Difference between revisions of "love.font.newRasterizer"

(Created page with '{{newin|0.7.0|type=function}} Creates a new Rasterizer. == Function == === Synopsis === <source lang="lua"> rasterizer = love.font.newRasterizer( name ) </source> === Argumen…')
 
Line 7: Line 7:
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
{{param|string|name|The name of the thread to return.}}
+
{{param|ImageData|imagedata|The image data to rasterize.}}
 +
{{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 13:06, 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( name )

Arguments

ImageData imagedata
The image data to rasterize.
string glyphs
The sequence of glyphs in the imagedata.

Returns

Rasterizer rasterizer
The rasterizer.

See Also