Difference between revisions of "love.font.newTrueTypeRasterizer"

m
m (Added rasterizer subtype to dynamically generated description.)
Line 1: Line 1:
 
{{newin|[[0.7.0]]|070|type=function}}
 
{{newin|[[0.7.0]]|070|type=function}}
Creates a new Rasterizer.
+
Creates a new TrueType Rasterizer.
  
 
== Function ==
 
== Function ==
Line 20: Line 20:
 
* [[Constructs::Rasterizer]]
 
* [[Constructs::Rasterizer]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Creates a new Rasterizer.}}
+
{{#set:Description=Creates a new TrueType Rasterizer.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.font.newRasterizer}}
 
{{i18n|love.font.newRasterizer}}

Revision as of 13:11, 15 February 2017

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

TrueTypeRasterizer rasterizer
The rasterizer.

See Also

Other Languages