Interface for an image frame. More...
#include <SImgDecoder-i.h>
Public Member Functions | |
BOOL | GetSize (UINT *pWid, UINT *pHei) PURE |
Get the size of the image in pixels. | |
const VOID * | GetPixels () SCONST PURE |
Get the pixel buffer of the image. | |
int | GetDelay () PURE |
Get the delay time for a GIF image frame. | |
![]() | |
long | AddRef () PURE |
Increases the reference count. | |
long | Release () PURE |
Decreases the reference count. | |
void | OnFinalRelease () PURE |
Called when the reference count reaches zero and the object is about to be released. | |
Interface for an image frame.
This interface represents a single frame of an image, which can be part of an animated image or a single static image.
Definition at line 28 of file SImgDecoder-i.h.
int IImgFrame::GetDelay | ( | ) |
Get the delay time for a GIF image frame.
const VOID * IImgFrame::GetPixels | ( | ) |
Get the pixel buffer of the image.
BOOL IImgFrame::GetSize | ( | UINT * | pWid, |
UINT * | pHei ) |
Get the size of the image in pixels.
[out] | UINT | * pWid - Pointer to store the image width. |
[out] | UINT | * pHei - Pointer to store the image height. |