Difference between revisions of "love.font.newGlyphData"

m (Source code formatting.)
(included section title Other Languages)
Line 15: Line 15:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Creates a new GlyphData.}}
 
{{#set:Description=Creates a new GlyphData.}}
 +
== Other Languages ==
 +
{{i18n|love.font.newGlyphData}}

Revision as of 22:56, 5 January 2011

Available since LÖVE 0.7.0
This function is not supported in earlier versions.

Creates a new GlyphData.

Function

Synopsis

glyphData = love.font.newGlyphData( rasterizer, glyph )

Arguments

Rasterizer rasterizer
The Rasterizer containing the font.
number glyph
The character code of the glyph.

Returns

GlyphData glyphData
The GlyphData.

See Also

Other Languages