AgateLib.DisplayLib.ISpriteFrame Interface Reference

Basic interface implemented by a particular frame in a sprite. More...

Inheritance diagram for AgateLib.DisplayLib.ISpriteFrame:

AgateLib.Sprites.Old.SpriteFrame AgateLib.Sprites.PackedSpriteFrame AgateLib.Sprites.SpriteFrame

List of all members.

Public Member Functions

void Draw (float dest_x, float dest_y, float rotationCenterX, float rotationCenterY)
 Draws the frame.

Properties

Surface Surface [get]
 Gets the surface object the frame is drawn from.
Rectangle SourceRect [get]
 Gets the source rectangle on the surface the frame is drawn from.


Detailed Description

Basic interface implemented by a particular frame in a sprite.


Member Function Documentation

void AgateLib.DisplayLib.ISpriteFrame.Draw ( float  dest_x,
float  dest_y,
float  rotationCenterX,
float  rotationCenterY 
)

Draws the frame.

Parameters:
dest_x 
dest_y 
rotationCenterX 
rotationCenterY 

Implemented in AgateLib.Sprites.PackedSpriteFrame, AgateLib.Sprites.Old.SpriteFrame, and AgateLib.Sprites.SpriteFrame.


Property Documentation

Rectangle AgateLib.DisplayLib.ISpriteFrame.SourceRect [get]

Gets the source rectangle on the surface the frame is drawn from.

Implemented in AgateLib.Sprites.PackedSpriteFrame, and AgateLib.Sprites.SpriteFrame.

Surface AgateLib.DisplayLib.ISpriteFrame.Surface [get]

Gets the surface object the frame is drawn from.

Implemented in AgateLib.Sprites.PackedSpriteFrame, AgateLib.Sprites.Old.SpriteFrame, and AgateLib.Sprites.SpriteFrame.


The documentation for this interface was generated from the following file:
AgateLib
Awesome Game and Tool Engine Library
SourceForge.net Logo