Difference between revisions of "love.font.newTrueTypeRasterizer"

m (Fixed to i18n.)
m (If I'm not wrong, it creates rasterizer)
Line 12: Line 12:
 
{{param|HintingMode|hinting_mode|True Type hinting mode.}}
 
{{param|HintingMode|hinting_mode|True Type hinting mode.}}
 
=== Returns ===
 
=== Returns ===
{{param|TrueTypeRasterizer|rasterizer|The rasterizer.}}
+
{{param|Rasterizer|rasterizer|The rasterizer.}}
  
 
== See Also ==
 
== See Also ==

Revision as of 10:20, 22 April 2020

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

Creates a new TrueType 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

Rasterizer rasterizer
The rasterizer.

See Also

Other Languages