PrevNextUpHome SophiaFramework UNIVERSE 5.3
SFBImageDecoder
Wrapper Class for the IImageDecoder interface.
#include <SFBImageDecoder.h.hpp>
class SFBImageDecoder : public SFBQuery;
SFMTYPEDEFWRAPPER(SFBImageDecoder)

Inheritance diagram

 Inheritance diagram of SFBImageDecoderClass

Version

BREW 2.0 BREW 2.1 BREW 3.1 BREW 4.0
X X O O

Reference

BREW API IImageDecoder

Member

Public Functions
SFCError GetBitmap( SFBBitmapSmpPtr bitmap )
Retrieve the decoded bitmap.
SFBBitmapSmp GetBitmap( Void )
Retrieve the decoded bitmap.
SInt32 GetRop( Void )
Return the default raster op to be used when blitting this bitmap.
static
SFBImageDecoderSmp
NewInstance( AEECLSID id , SFCErrorPtr exception = null )
Create a new instance of SFBImageDecoder.
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.

SFBImageDecoder::GetBitmap
Retrieve the decoded bitmap.
[ public ]
SFCError GetBitmap(
    SFBBitmapSmpPtr bitmap   // decoded image
);
[ public ]
SFBBitmapSmp GetBitmap(Void);

Return value

  • If succeeds: SFERR_NO_ERROR
  • If failed: SFERR_FAILED

Reference

BREW API IIMAGEDECODER_GetBitmap | SFBBitmap | SFBDIB


SFBImageDecoder::GetRop
Return the default raster op to be used when blitting this bitmap.
[ public ]
SInt32 GetRop(Void);

Reference

BREW API IIMAGEDECODER_GetRop


SFBImageDecoder::NewInstance
Create a new instance of SFBImageDecoder.
[ public, static ]
SFBImageDecoderSmp NewInstance(
    AEECLSID id                    // Class ID
    SFCErrorPtr exception = null   // Error
);