SophiaFramework UNIVERSE 5.3 |
BREW 2.0 | BREW 2.1 | BREW 3.1 | BREW 4.0 |
---|---|---|---|
O | O | O | O |
Public Functions | |
---|---|
SFCError |
DrawSprites(
AEESpriteCmd* cmds
)
Cause the sprites in the Cmds array to be drawn.
|
SFCError |
DrawTiles(
AEETileMap* maps
)
Cause the tile maps in the Maps array to be drawn.
|
static SFBSpriteSmp |
NewInstance(
SFCErrorPtr exception = null
) Create a new SFBSprite instance.
|
static SFBSpriteSmp |
NewInstance(
AEECLSID id
, SFCErrorPtr exception = null
) Create a new SFBSprite instance.
|
SFCError |
ResetDestination( Void )
Reset the destination bitmap of the sprite.
|
SFCError |
ResetSpriteBuffer( Void )
Reset the current sprite buffer.
|
SFCError |
ResetTileBuffer( Void )
Reset the current title buffer.
|
SFCError |
SetDestination(
SFBBitmapSmpConstRef bmpDest
)
Tell the sprite engine where to render sprites and tiles.
|
SFCError |
SetSpriteBuffer(
UInt08 size
, SFBBitmapSmpConstRef bmpBuf
)
Tell the sprite engine where to find sprite images for a particular size of sprite.
|
SFCError |
SetTileBuffer(
UInt08 size
, SFBBitmapSmpConstRef bmpBuf
)
Tell the sprite engine where to find tile images for a particular size of tile.
|
SFCError |
SetTransformTable(
AEETransformMatrix* transform
)
Tell the sprite engine where to lookup transformations for
sprites with the SPRITE_MATRIX_TRANSFORM attribute set.
|
SFCError |
QueryInterface(
AEECLSID clsid
, VoidHandle handle
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
SFCError |
QueryInterface(
AEECLSID clsid
, SFBBaseSmpPtr handle
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
SFBBaseSmp |
QueryInterface(
AEECLSID clsid
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
Void |
Self(
AEECLSID clsidReq
, SFBQuerySmpPtr clone
, AEECLSID clsidImp
)
(inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
|
SFBQuerySmp |
Self(
AEECLSID clsidReq
, AEECLSID clsidImp
)
(inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
|
Protected Functions | |
---|---|
static SFBBaseSmp |
FactoryByCreate(
AEECLSID id
, SFCErrorPtr exception = null
)
(inherits from SFBBase)
Create the instance for the specified ClassID's interface.
|
static SFBBaseSmp |
FactoryByQuery(
SFBQuerySmpConstRef query
, AEECLSID id
, SFCErrorPtr exception = null
)
(inherits from SFBBase)
Create the instance for the specified ClassID's interface using the SFBQuery instance.
|
[ public ] SFCError DrawSprites( AEESpriteCmd* cmds // array of sprite commands );
BREW API ISPRITE_DrawSprites | SFBSprite::SetDestination | SFBSprite::SetTransformTable | AEESpriteCmd
[ public ] SFCError DrawTiles( AEETileMap* maps // array of tile maps );
BREW API ISPRITE_DrawTiles | SFBSprite::SetDestination | AEETileMap
[ public, static ] SFBSpriteSmp NewInstance( SFCErrorPtr exception = null // Error );
[ public, static ] SFBSpriteSmp NewInstance( AEECLSID id // Class ID SFCErrorPtr exception = null // Error );
[ public ] SFCError ResetDestination(Void);
Calling this function is as same as calling SFBSprite::SetDestination( null )
[ public ] SFCError ResetSpriteBuffer(Void);
Calling this function is as same as calling SFBSprite::SetSpriteBuffer( 0 , null )
[ public ] SFCError ResetTileBuffer(Void);
Calling this function is as same as calling SFBSprite::SetTileBuffer( 0 , null )
[ public ] SFCError SetDestination( SFBBitmapSmpConstRef bmpDest // bitmap to be used for destination in drawing operations );
[ public ] SFCError SetSpriteBuffer( UInt08 size // size of sprites in buffer. // corresponds to unSpriteSize field of AEESpriteCmd SFBBitmapSmpConstRef bmpBuf // bitmap to be used for sprite buffer );
BREW API ISPRITE_SetSpriteBuffer | SFBSprite::SetTileBuffer | SFBSprite::DrawSprites | AEESpriteCmd
[ public ] SFCError SetTileBuffer( UInt08 size // size of tiles in buffer. // corresponds to unTileSize field of AEETileMap SFBBitmapSmpConstRef bmpBuf // bitmap to be used for tile buffer );
BREW API ISPRITE_SetTransformTable | SFBSprite::SetSpriteBuffer | SFBSprite::SetSpriteBuffer | AEETileMap
[ public ] SFCError SetTransformTable( AEETransformMatrix* transform // array of AEETransformMatrix structures );
Copyright(c) 2002 - 2024 Sophia Cradle Incorporated All Rights Reserved. |