Difference between revisions of "Rasterizer"
m |
m |
||
Line 1: | Line 1: | ||
{{newin|[[0.7.0]]|070|type=type}} | {{newin|[[0.7.0]]|070|type=type}} | ||
− | A Rasterizer handles font rendering, containing the font data (image or | + | A Rasterizer handles font rendering, containing the font data (image or TrueType font) and drawable glyphs. |
== Constructors == | == Constructors == | ||
{{#ask: [[Category:Functions]] [[Constructs::Rasterizer]] [[Concept:Current]] | {{#ask: [[Category:Functions]] [[Constructs::Rasterizer]] [[Concept:Current]] |
Revision as of 13:04, 3 October 2012
Available since LÖVE 0.7.0 |
This type is not supported in earlier versions. |
A Rasterizer handles font rendering, containing the font data (image or TrueType font) and drawable glyphs.
Constructors
love.font.newBMFontRasterizer | Creates a new BMFont Rasterizer. |
love.font.newImageRasterizer | Creates a new Image Rasterizer. |
love.font.newRasterizer | Creates a new Rasterizer. |
love.font.newTrueTypeRasterizer | Creates a new TrueType Rasterizer. |
Functions
Object:release | Immediately destroys the object's Lua reference. |
Object:type | Gets the type of the object as a string. |
Object:typeOf | Checks whether an object is of a certain type. |
Rasterizer:getAdvance | Gets font advance. |
Rasterizer:getAscent | Gets ascent height. |
Rasterizer:getDescent | Gets descent height. |
Rasterizer:getGlyphCount | Gets number of glyphs in font. |
Rasterizer:getGlyphData | Gets glyph data of a specified glyph. |
Rasterizer:getHeight | Gets font height. |
Rasterizer:getLineHeight | Gets line height of a font. |
Rasterizer:hasGlyphs | Checks if font contains specified glyphs. |
Supertypes
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