Difference between revisions of "love.font.newBMFontRasterizer"
m (lowercase dpiscale) |
m (love.font.newBMFontRasterizer was added in 0.10.0) |
||
Line 1: | Line 1: | ||
− | {{newin|[[0. | + | {{newin|[[0.10.0]]|100|type=function}} |
Creates a new BMFont Rasterizer. | Creates a new BMFont Rasterizer. | ||
== Function == | == Function == |
Latest revision as of 22:32, 25 January 2023
Available since LÖVE 0.10.0 |
This function is not supported in earlier versions. |
Creates a new BMFont Rasterizer.
Contents
Function
Synopsis
rasterizer = love.font.newBMFontRasterizer( imageData, glyphs, dpiscale )
Arguments
ImageData imageData
- The image data containing the drawable pictures of font glyphs.
string glyphs
- The sequence of glyphs in the ImageData.
Available since LÖVE 11.0
number dpiscale (1)
- DPI scale.
Returns
Rasterizer rasterizer
- The rasterizer.
Function
Synopsis
rasterizer = love.font.newBMFontRasterizer( fileName, glyphs, dpiscale )
Arguments
string fileName
- The path to file containing the drawable pictures of font glyphs.
string glyphs
- The sequence of glyphs in the ImageData.
Available since LÖVE 11.0
number dpiscale (1)
- DPI scale.
Returns
Rasterizer rasterizer
- The rasterizer.
See Also
- love.font
- love.font.newRasterizer
- love.font.newTrueTypeRasterizer
- love.font.newImageRasterizer
- Rasterizer
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