Difference between revisions of "GlyphData"
Line 9: | Line 9: | ||
== Functions == | == Functions == | ||
{{#ask: [[Category:Functions]] [[parent::GlyphData]] | {{#ask: [[Category:Functions]] [[parent::GlyphData]] | ||
+ | | headers=hide | ||
+ | | ?Description | ||
+ | }} | ||
+ | {{#ask: [[Category:Functions]] [[parent::Data]] | ||
| headers=hide | | headers=hide | ||
| ?Description | | ?Description | ||
Line 17: | Line 21: | ||
}} | }} | ||
== Supertypes == | == Supertypes == | ||
+ | [[Data]] | ||
[[Object]] | [[Object]] | ||
== See Also == | == See Also == |
Revision as of 02:12, 13 February 2011
Available since LÖVE 0.7.0 |
This type is not supported in earlier versions. |
A GlyphData represents a drawable symbol of a font Rasterizer.
Constructors
Rasterizer:getGlyphData | Gets glyph data of a specified glyph. |
love.font.newGlyphData | Creates a new GlyphData. |
Functions
GlyphData:getAdvance | Gets glyph advance. |
GlyphData:getBearing | Gets glyph bearing. |
GlyphData:getBoundingBox | Gets glyph bounding box. |
GlyphData:getDimensions | Gets glyph dimensions. |
GlyphData:getFormat | Gets glyph pixel format. |
GlyphData:getGlyph | Gets glyph number. |
GlyphData:getGlyphString | Gets glyph string. |
GlyphData:getHeight | Gets glyph height. |
GlyphData:getWidth | Gets glyph width. |
Data:clone | Creates a new copy of the Data object. |
Data:getFFIPointer | Gets an FFI pointer to the Data. |
Data:getPointer | Gets a pointer to the Data. |
Data:getSize | Gets the Data's size in bytes. |
Data:getString | Gets the full Data as a string. |
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