Difference between revisions of "love.font.newGlyphData"

m (Source code formatting.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{newin|[[0.7.0]]|type=function}}
+
{{newin|[[0.7.0]]|070|type=function}}
 
Creates a new GlyphData.
 
Creates a new GlyphData.
 
== Function ==
 
== Function ==
Line 13: Line 13:
 
== See Also ==
 
== See Also ==
 
* [[parent::love.font]]
 
* [[parent::love.font]]
 +
* [[Constructs::GlyphData]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Creates a new GlyphData.}}
 
{{#set:Description=Creates a new GlyphData.}}
 +
== Other Languages ==
 +
{{i18n|love.font.newGlyphData}}

Latest revision as of 09:47, 25 March 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