![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cSurfaceBase.h>
Public Member Functions | |
cSurfaceFrames () noexcept | |
void | InitFrameCur () noexcept |
virtual HRESULT | SetFrameCurrent (int iFrameNum)=0 |
Public Attributes | |
cWinSize | m_SizeOrig |
Original MAX reference image size. NOT the current frame size. More... | |
int | m_nFrameQty |
max components/frames in the file (DDS,GIF,JP2,PNG) (NOTE doesn't know how many frames until reach end) More... | |
int | m_nFrameCur |
the enum of the current locked component/frame. < m_nFrameQty More... | |
size_t | m_nFrameOffset |
offset in bytes from the start to m_nFrameCur frame data. More... | |
POINT | m_ptFrameOffset |
Current Frame offset in m_SizeOrig. More... | |
Describe a data blob that has (or can have) multiple image components/frames in it. e.g. DDS,GIF,JP2,PNG all have multi frame ability.
Frames may be LOD (MIP Maps) or animations. May have different sizes.
|
inlinenoexcept |
|
inlinenoexcept |
go back to the first frame.
|
pure virtual |
Implemented in GrayLib::cImageGIF, GrayLib::cImageDDS, GrayCodec::cImagePNG, and GrayCodec::cImageJP2.
int GrayLib::cSurfaceFrames::m_nFrameCur |
the enum of the current locked component/frame. < m_nFrameQty
size_t GrayLib::cSurfaceFrames::m_nFrameOffset |
offset in bytes from the start to m_nFrameCur frame data.
int GrayLib::cSurfaceFrames::m_nFrameQty |
max components/frames in the file (DDS,GIF,JP2,PNG) (NOTE doesn't know how many frames until reach end)
POINT GrayLib::cSurfaceFrames::m_ptFrameOffset |
Current Frame offset in m_SizeOrig.
cWinSize GrayLib::cSurfaceFrames::m_SizeOrig |
Original MAX reference image size. NOT the current frame size.