Difference between revisions of "Rasterizer"
m |
|||
Line 8: | Line 8: | ||
}} | }} | ||
== Functions == | == Functions == | ||
− | {{#ask: [[Category:Functions]] [[parent::Rasterizer | + | {{#ask: [[Category:Functions]] [[parent::Rasterizer]] |
| headers=hide | | headers=hide | ||
| ?Description | | ?Description | ||
}} | }} | ||
+ | {{#ask: [[Category:Functions]] [[parent::Object]] | ||
+ | | headers=hide | ||
+ | | ?Description | ||
+ | }} | ||
+ | == Supertypes == | ||
+ | [[Object]] | ||
== See Also == | == See Also == | ||
* [[parent::love.font]] | * [[parent::love.font]] |
Revision as of 01:53, 13 February 2011
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
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. |
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. |
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