Difference between revisions of "love.font.newRasterizer"

m
Line 4: Line 4:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
rasterizer = love.font.newRasterizer( name )
+
rasterizer = love.font.newRasterizer( imagedata, glyphs )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===

Revision as of 13:07, 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 to rasterize.
string glyphs
The sequence of glyphs in the imagedata.

Returns

Rasterizer rasterizer
The rasterizer.

See Also