Difference between revisions of "Rasterizer"
m |
|||
Line 2: | Line 2: | ||
A Rasterizer handles font rendering, containing the font data (image or true-type font) and drawable glyphs. | A Rasterizer handles font rendering, containing the font data (image or true-type font) and drawable glyphs. | ||
== Constructors == | == Constructors == | ||
− | {{#ask: [[Category:Functions]] [[Constructs::Rasterizer]] | + | {{#ask: [[Category:Functions]] [[Constructs::Rasterizer]] [[Concept:Current]] |
| headers=hide | | headers=hide | ||
| default=None. | | default=None. | ||
Line 8: | Line 8: | ||
}} | }} | ||
== Functions == | == Functions == | ||
− | {{#ask: [[Category:Functions]] [[parent::Rasterizer||Object]] [[ | + | {{#ask: [[Category:Functions]] [[parent::Rasterizer||Object]] [[Concept:Current]] |
| headers=hide | | headers=hide | ||
| ?Description | | ?Description |
Revision as of 23:00, 23 June 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 true-type 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