soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
IImgFrame Interface Reference

Interface for an image frame. More...

#include <SImgDecoder-i.h>

Inheritance diagram for IImgFrame:
IObjRef

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.
 
- Public Member Functions inherited from IObjRef
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.
 

Detailed Description

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.

Member Function Documentation

◆ GetDelay()

int IImgFrame::GetDelay ( )

Get the delay time for a GIF image frame.

Returns
int - Delay time in 10-millisecond units.

◆ GetPixels()

const VOID * IImgFrame::GetPixels ( )

Get the pixel buffer of the image.

Returns
const VOID * - Pointer to the pixel buffer.

◆ GetSize()

BOOL IImgFrame::GetSize ( UINT * pWid,
UINT * pHei )

Get the size of the image in pixels.

Parameters
[out]UINT* pWid - Pointer to store the image width.
[out]UINT* pHei - Pointer to store the image height.
Returns
BOOL - TRUE if successful, FALSE otherwise.

The documentation for this interface was generated from the following file: