Difference between revisions of "Rasterizer"

(Applying listings to included added and removed fields.)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{newin|[[0.7.0]]|type=type}}
+
{{newin|[[0.7.0]]|070|type=type}}
A Rasterizer handles font rendering, containing the font data (image or true-type font) and drawable glyphs.
+
A Rasterizer handles font rendering, containing the font data (image or TrueType font) and drawable glyphs.
 
== Constructors ==
 
== Constructors ==
{{#ask: [[Category:Functions]] [[Constructs::Rasterizer]]
+
{{#ask: [[Category:Functions]] [[Constructs::Rasterizer]] [[Concept:Current]]
 
| headers=hide
 
| headers=hide
 
| default=None.
 
| default=None.
 +
| format=template
 +
| template=ListingFields
 +
| introtemplate=ListingIntro
 +
| outrotemplate=ListingOutro
 
| ?Description
 
| ?Description
 +
| ?PrettySince
 +
| ?PrettyRemoved
 
}}
 
}}
 
== Functions ==
 
== Functions ==
{{#ask: [[Category:Functions]] [[parent::Rasterizer]]
+
{{#ask: [[Category:Functions]] [[parent::Rasterizer||Object]] [[Concept:Current]]
| headers=hide
 
| ?Description
 
}}
 
{{#ask: [[Category:Functions]] [[parent::Object]]
 
 
| headers=hide
 
| headers=hide
 +
| format=template
 +
| template=ListingFields
 +
| introtemplate=ListingIntro
 +
| outrotemplate=ListingOutro
 
| ?Description
 
| ?Description
 +
| ?PrettySince
 +
| ?PrettyRemoved
 
}}
 
}}
 
== Supertypes ==
 
== Supertypes ==
[[Object]]
+
* [[parent::Object]]
 
== See Also ==
 
== See Also ==
 
* [[parent::love.font]]
 
* [[parent::love.font]]
* [[love.font.newRasterizer]]
 
 
[[Category:Types]]
 
[[Category:Types]]
{{#set:Description=A Rasterizer represents font data and glyphs.
+
{{#set:Description=A Rasterizer represents font data and glyphs.}}
}}
 
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Rasterizer}}
 
{{i18n|Rasterizer}}

Latest revision as of 23:19, 29 March 2013

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

A Rasterizer handles font rendering, containing the font data (image or TrueType font) and drawable glyphs.

Constructors

love.font.newBMFontRasterizer Creates a new BMFont Rasterizer. Added since 0.10.0
love.font.newImageRasterizer Creates a new Image Rasterizer. Added since 0.10.0
love.font.newRasterizer Creates a new Rasterizer. Added since 0.7.0
love.font.newTrueTypeRasterizer Creates a new TrueType Rasterizer. Added since 0.10.0

Functions

Object:release Immediately destroys the object's Lua reference. Added since 11.0
Object:type Gets the type of the object as a string.
Object:typeOf Checks whether an object is of a certain type.
Rasterizer:getAdvance Gets font advance. Added since 0.7.0
Rasterizer:getAscent Gets ascent height. Added since 0.7.0
Rasterizer:getDescent Gets descent height. Added since 0.7.0
Rasterizer:getGlyphCount Gets number of glyphs in font. Added since 0.7.0
Rasterizer:getGlyphData Gets glyph data of a specified glyph. Added since 0.7.0
Rasterizer:getHeight Gets font height. Added since 0.7.0
Rasterizer:getLineHeight Gets line height of a font. Added since 0.7.0
Rasterizer:hasGlyphs Checks if font contains specified glyphs. Added since 0.7.0

Supertypes

See Also

Other Languages