Difference between revisions of "GlyphData"

(Basic description.)
 
(Added link to creation function)
Line 14: Line 14:
 
== See Also ==
 
== See Also ==
 
* [[parent::love.font]]
 
* [[parent::love.font]]
 +
* [[love.font.newGlyphData]]
 
[[Category:Types]]
 
[[Category:Types]]
 
{{#set:Description=A GlyphData represents a drawable symbol of a font.
 
{{#set:Description=A GlyphData represents a drawable symbol of a font.
 
}}
 
}}

Revision as of 13:53, 23 October 2010

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:getGlyphDataGets glyph data of a specified glyph.
love.font.newGlyphDataCreates a new GlyphData.

Functions

BezierCurveA Bézier curve object that can evaluate and render Bézier curves of arbitrary degree.
BodyBodies are objects with velocity and position.
ByteDataData object containing arbitrary bytes in an contiguous memory.
CanvasOff-screen render target.
Canvas (Nederlands)Off-screen render target.
ChainShapeA ChainShape consists of multiple line segments.
ChannelAn object which can be used to send and receive data between different threads.
CircleShapeCircle extends Shape and adds a radius and a local position.
CompressedDataByte data compressed using a specific algorithm.
CompressedImageDataCompressed image data designed to stay compressed in RAM and on the GPU.
ContactContacts are objects created to manage collisions in worlds.
CursorRepresents a hardware cursor.
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.
DroppedFileRepresents a file dropped from the window.
EdgeShapeEdgeShape is a line segment.
FileRepresents a file on the filesystem.
FileDataData representing the contents of a file.
FixtureFixtures attach shapes to bodies.
FontDefines the shape of characters than can be drawn onto the screen.
FontDataA FontData represents a font.
FramebufferOff-screen render target.
FrictionJointA FrictionJoint applies friction to a body.
GearJointKeeps bodies together in such a way that they act like gears.
GlyphDataA GlyphData represents a drawable symbol of a font.
GlyphData:getAdvanceGets glyph advance.
GlyphData:getBearingGets glyph bearing.
GlyphData:getBoundingBoxGets glyph bounding box.
GlyphData:getDimensionsGets glyph dimensions.
GlyphData:getFormatGets glyph pixel format.
GlyphData:getGlyphGets glyph number.
GlyphData:getGlyphStringGets glyph string.
GlyphData:getHeightGets glyph height.
GlyphData:getWidthGets glyph width.
GraphicsBufferLow-level data stored in graphics memory, including arrays of vertices, vertex indices, and custom collections of data accessible in Shaders.
ImageDrawable image type.
ImageDataRaw (decoded) image data.
JointAttach multiple bodies together to interact in unique ways.
JoystickRepresents a physical joystick.
MeshA 2D polygon mesh used for drawing arbitrary textured shapes.
MotorJointControls the relative motion between two Bodies
MouseJointFor controlling objects with the mouse.
Object:releaseImmediately destroys the object's Lua reference.
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.
PixelEffectPixel shader effect.
PolygonShapePolygon is a convex polygon with up to 8 sides.
... further results

See Also