Difference between revisions of "love.font.newTrueTypeRasterizer"

m
Line 6: Line 6:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
rasterizer = love.font.newRasterizer( size, hinting_mode )
+
rasterizer = love.font.newTrueTypeRasterizer( size, hinting_mode )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===

Revision as of 08:38, 9 February 2017

Available since LÖVE 0.7.0
This function is not supported in earlier versions.

Creates a new Rasterizer.

Function

Create a TrueTypeRasterizer with the default font.

Synopsis

rasterizer = love.font.newTrueTypeRasterizer( size, hinting_mode )

Arguments

number size
The font size.
HintingMode hinting_mode
True Type hinting mode.

Returns

TrueTypeRasterizer rasterizer
The rasterizer.

See Also

Other Languages