AnimatedGIFImage Class Reference

Stores details on the GIF image which is part of an export animation sequence. More...

#include <giffiltr.h>

Inheritance diagram for AnimatedGIFImage:

ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

 AnimatedGIFImage ()
 Default contructor.
 ~AnimatedGIFImage ()
 Default destructor.
 AnimatedGIFImage (const INT32 TransColour, const GIFDisposalMethod FrameRestore, const CENTISECONDS FrameDelay, const UINT32 LeftOffset, const UINT32 TopOffset, const LPBITMAPINFO pInfo, const LPBYTE pBytes, const LPBITMAPINFO pDiffInfo=NULL, const LPBYTE pDiffBytes=NULL)
 To add a bitmap to the list of frames in the animation sequence.
LPBITMAPINFO GetOutputInfo () const
LPBYTE GetOutputBits () const
void SetFrameRestore (const GIFDisposalMethod FrameRestore)
INT32 GetTransColour () const
GIFDisposalMethod GetFrameRestore () const
CENTISECONDS GetFrameDelay () const
UINT32 GetLeftOffset () const
UINT32 GetTopOffset () const

Protected Attributes

INT32 m_TransColour
GIFDisposalMethod m_FrameRestore
CENTISECONDS m_FrameDelay
UINT32 m_LeftOffset
UINT32 m_TopOffset
LPBITMAPINFO m_pInfo
LPBYTE m_pBytes
LPBITMAPINFO m_pDiffInfo
LPBYTE m_pDiffBytes

Detailed Description

Stores details on the GIF image which is part of an export animation sequence.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com>
Date:
2/6/97

Definition at line 360 of file giffiltr.h.


Constructor & Destructor Documentation

AnimatedGIFImage::AnimatedGIFImage  ) 
 

Default contructor.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com>
Date:
2/6/97

Definition at line 2603 of file giffiltr.cpp.

02604 {
02605     ERROR3("AnimatedGIFImage::AnimatedGIFImage - call the other constructor");
02606     m_TransColour   = -1;
02607     m_FrameRestore  = GDM_LEAVE;
02608     m_FrameDelay    = 0;
02609 
02610     m_LeftOffset    = 0;
02611     m_TopOffset     = 0;
02612 
02613     m_pInfo         = NULL;
02614     m_pBytes        = NULL;
02615     m_pDiffInfo     = NULL;
02616     m_pDiffBytes    = NULL;
02617 }

AnimatedGIFImage::~AnimatedGIFImage  ) 
 

Default destructor.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com>
Date:
2/6/97

Definition at line 2629 of file giffiltr.cpp.

02630 {
02631     // Free up the difference bitmap that may have allocated
02632     if (m_pDiffInfo && m_pDiffBytes)
02633     {
02634         FreeDIB(m_pDiffInfo, m_pDiffBytes);
02635         m_pDiffInfo = NULL;
02636         m_pDiffBytes = NULL;
02637     }
02638 }

AnimatedGIFImage::AnimatedGIFImage const INT32  TransColour,
const GIFDisposalMethod  FrameRestore,
const CENTISECONDS  FrameDelay,
const UINT32  LeftOffset,
const UINT32  TopOffset,
const LPBITMAPINFO  pInfo,
const LPBYTE  pBytes,
const LPBITMAPINFO  pDiffInfo = NULL,
const LPBYTE  pDiffBytes = NULL
 

To add a bitmap to the list of frames in the animation sequence.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com>
Date:
2/6/97
Parameters:
TransColour - the transparent colour for this frame [INPUTS] FrameRestore - The restore type for this frame FrameDelay - the delay to apply to this frame LeftOffset, TopOffset - offset for the bitmap pInfo, pBytes - The bitmap to output for this frame pDiffInfo, pDiffBytes - The difference bitmap for this frame

Definition at line 2574 of file giffiltr.cpp.

02579 {
02580     m_TransColour   = TransColour;
02581     m_FrameRestore  = FrameRestore;
02582     m_FrameDelay    = FrameDelay;
02583 
02584     m_LeftOffset    = LeftOffset;
02585     m_TopOffset     = TopOffset;
02586 
02587     m_pInfo         = pInfo;
02588     m_pBytes        = pBytes;
02589     m_pDiffInfo     = pDiffInfo;
02590     m_pDiffBytes    = pDiffBytes;
02591 }


Member Function Documentation

CENTISECONDS AnimatedGIFImage::GetFrameDelay  )  const [inline]
 

Definition at line 381 of file giffiltr.h.

00381 { return m_FrameDelay; }

GIFDisposalMethod AnimatedGIFImage::GetFrameRestore  )  const [inline]
 

Definition at line 380 of file giffiltr.h.

00380 { return m_FrameRestore; }

UINT32 AnimatedGIFImage::GetLeftOffset  )  const [inline]
 

Definition at line 382 of file giffiltr.h.

00382 { return m_LeftOffset; }

LPBYTE AnimatedGIFImage::GetOutputBits  )  const [inline]
 

Definition at line 375 of file giffiltr.h.

00375 { return m_pBytes; }

LPBITMAPINFO AnimatedGIFImage::GetOutputInfo  )  const [inline]
 

Definition at line 374 of file giffiltr.h.

00374 { return m_pInfo; }

UINT32 AnimatedGIFImage::GetTopOffset  )  const [inline]
 

Definition at line 383 of file giffiltr.h.

00383 { return m_TopOffset; }

INT32 AnimatedGIFImage::GetTransColour  )  const [inline]
 

Definition at line 379 of file giffiltr.h.

00379 { return m_TransColour; }

void AnimatedGIFImage::SetFrameRestore const GIFDisposalMethod  FrameRestore  )  [inline]
 

Definition at line 377 of file giffiltr.h.

00377 { m_FrameRestore = FrameRestore; }


Member Data Documentation

CENTISECONDS AnimatedGIFImage::m_FrameDelay [protected]
 

Definition at line 389 of file giffiltr.h.

GIFDisposalMethod AnimatedGIFImage::m_FrameRestore [protected]
 

Definition at line 388 of file giffiltr.h.

UINT32 AnimatedGIFImage::m_LeftOffset [protected]
 

Definition at line 391 of file giffiltr.h.

LPBYTE AnimatedGIFImage::m_pBytes [protected]
 

Definition at line 397 of file giffiltr.h.

LPBYTE AnimatedGIFImage::m_pDiffBytes [protected]
 

Definition at line 401 of file giffiltr.h.

LPBITMAPINFO AnimatedGIFImage::m_pDiffInfo [protected]
 

Definition at line 400 of file giffiltr.h.

LPBITMAPINFO AnimatedGIFImage::m_pInfo [protected]
 

Definition at line 396 of file giffiltr.h.

UINT32 AnimatedGIFImage::m_TopOffset [protected]
 

Definition at line 392 of file giffiltr.h.

INT32 AnimatedGIFImage::m_TransColour [protected]
 

Definition at line 387 of file giffiltr.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:49:56 2007 for Camelot by  doxygen 1.4.4