Difference between revisions of "GlyphData"
m |
m |
||
Line 13: | Line 13: | ||
}} | }} | ||
== Supertypes == | == Supertypes == | ||
− | [[Data]] | + | * [[parent::Data]] |
− | [[Object]] | + | * [[parent::Object]] |
== See Also == | == See Also == | ||
* [[parent::love.font]] | * [[parent::love.font]] |
Revision as of 00:23, 16 October 2012
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
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. |
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. |
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