Difference between revisions of "love.font.newTrueTypeRasterizer"
Buckle2000 (talk | contribs) |
Buckle2000 (talk | contribs) |
||
Line 6: | Line 6: | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | rasterizer = love.font.newRasterizer( size ) | + | rasterizer = love.font.newRasterizer( size, hinting_mode ) |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
{{param|number|size|The font size.}} | {{param|number|size|The font size.}} | ||
+ | {{param|HintingMode|hinting_mode|True Type hinting mode.}} | ||
=== Returns === | === Returns === | ||
{{param|TrueTypeRasterizer|rasterizer|The rasterizer.}} | {{param|TrueTypeRasterizer|rasterizer|The rasterizer.}} |
Revision as of 13:35, 6 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.newRasterizer( 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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info