Difference between revisions of "Rasterizer"

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 true-type font) and drawable glyphs.
 
== Constructors ==
 
== Constructors ==
Line 8: Line 8:
 
}}
 
}}
 
== Functions ==
 
== Functions ==
{{#ask: [[Category:Functions]] [[parent::Rasterizer]]
+
{{#ask: [[Category:Functions]] [[parent::Rasterizer]] OR [[parent::Object]] [[Since::<071]]
| headers=hide
 
| ?Description
 
}}
 
{{#ask: [[Category:Functions]] [[parent::Object]]
 
 
| headers=hide
 
| headers=hide
 
| ?Description
 
| ?Description
Line 20: Line 16:
 
== 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}}

Revision as of 09:49, 25 March 2011

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 true-type font) and drawable glyphs.

Constructors

love.font.newBMFontRasterizerCreates a new BMFont Rasterizer.
love.font.newImageRasterizerCreates a new Image Rasterizer.
love.font.newRasterizerCreates a new Rasterizer.
love.font.newTrueTypeRasterizerCreates a new TrueType Rasterizer.

Functions

BodyBodies are objects with velocity and position.
CircleShapeCircle extends Shape and adds a radius and a local position.
ContactContacts are objects created to manage collisions in worlds.
DataThe superclass of all data.
DecoderAn object which can gradually decode a sound file.
DistanceJointKeeps two bodies at the same distance.
DrawableSuperclass for all things that can be drawn on screen.
FileRepresents a file on the filesystem.
FileDataData representing the contents of a file.
FontDefines the shape of characters than can be drawn onto the screen.
FontDataA FontData represents a font.
FramebufferOff-screen render target.
GearJointKeeps bodies together in such a way that they act like gears.
GlyphDataA GlyphData represents a drawable symbol of a font.
ImageDrawable image type.
ImageDataRaw (decoded) image data.
JointAttach multiple bodies together to interact in unique ways.
MouseJointFor controlling objects with the mouse.
Object:typeGets the type of the object as a string.
Object:typeOfChecks whether an object is of a certain type.
ParticleSystemUsed to create cool effects, like fire.
PolygonShapePolygon is a convex polygon with up to 8 sides.
PrismaticJointRestricts relative motion between Bodies to one shared axis.
PulleyJointAllows you to simulate bodies connected through pulleys.
QuadA quadrilateral with texture coordinate information.
RasterizerA Rasterizer represents font data and glyphs.
Rasterizer:getAdvanceGets font advance.
Rasterizer:getAscentGets ascent height.
Rasterizer:getDescentGets descent height.
Rasterizer:getGlyphCountGets number of glyphs in font.
Rasterizer:getGlyphDataGets glyph data of a specified glyph.
Rasterizer:getHeightGets font height.
Rasterizer:getLineHeightGets line height of a font.
Rasterizer:hasGlyphsChecks if font contains specified glyphs.
RevoluteJointAllow two Bodies to revolve around a shared point.
ShapeShapes are objects used to control mass and collisions.
Shape (Français)Les Shapes sont des objets pour contrôler les masses et les collisions.
SoundDataContains raw audio samples.
SourceA Source represents audio you can play back.
SpriteBatchStore image positions in a buffer, and draw it in one call.
SpriteBatch (Français)Stock des positions d'image dans un tampon, puis les trace en un seul appel.
ThreadA Thread represents a thread.
WorldA world is an object that contains all bodies and joints.

Supertypes

Object

See Also

Other Languages