Difference between revisions of "GlyphData"
m |
|||
Line 2: | Line 2: | ||
A GlyphData represents a drawable symbol of a font Rasterizer. | A GlyphData represents a drawable symbol of a font Rasterizer. | ||
== Constructors == | == Constructors == | ||
− | {{#ask: [[Category:Functions]] [[Constructs::GlyphData]] | + | {{#ask: [[Category:Functions]] [[Constructs::GlyphData]] [[Concept:Current]] |
| headers=hide | | headers=hide | ||
| default=None. | | default=None. | ||
Line 8: | Line 8: | ||
}} | }} | ||
== Functions == | == Functions == | ||
− | {{#ask: [[Category:Functions]] [[parent::GlyphData||Data||Object]] [[ | + | {{#ask: [[Category:Functions]] [[parent::GlyphData||Data||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 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