Difference between revisions of "love.font.newRasterizer"
Buckle2000 (talk | contribs) |
Buckle2000 (talk | contribs) |
||
Line 21: | Line 21: | ||
=== Returns === | === Returns === | ||
{{param|Rasterizer|rasterizer|The rasterizer.}} | {{param|Rasterizer|rasterizer|The rasterizer.}} | ||
+ | |||
+ | Create a TrueTypeRasterizer. | ||
== Function == | == Function == | ||
− | |||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
Line 30: | Line 31: | ||
=== See === | === See === | ||
* [[love.font.newTrueTypeRasterizer]] | * [[love.font.newTrueTypeRasterizer]] | ||
+ | |||
+ | Create a newBMFontRasterizer. | ||
== Function == | == Function == |
Revision as of 13:44, 6 February 2017
Available since LÖVE 0.7.0 |
This function is not supported in earlier versions. |
Creates a new Rasterizer.
Contents
Function
Synopsis
rasterizer = love.font.newRasterizer( filename )
Arguments
string filename
- The font file.
Returns
Rasterizer rasterizer
- The rasterizer.
Function
Synopsis
rasterizer = love.font.newRasterizer( data )
Arguments
FileData data
- The FileData of the font file.
Returns
Rasterizer rasterizer
- The rasterizer.
Create a TrueTypeRasterizer.
Function
Synopsis
rasterizer = love.font.newRasterizer( size, hinting_mode )
See
Create a newBMFontRasterizer.
Function
Synopsis
rasterizer = love.font.newRasterizer( imageData, glyphs )
See
Function?
Synopsis
rasterizer = love.font.newRasterizer( image1, image2, ... )
See
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