Logo Search packages:      
Sourcecode: xulrunner version File versions

imgIContainer Interface Reference

import "imgIContainer.idl";

Inheritance diagram for imgIContainer:

nsISupports imgContainer

List of all members.


Detailed Description

gfxIImageContainer interface

Author:
Stuart Parmenter <pavlov@netscape.com>
Version:
0.1
See also:
"gfx2"

Definition at line 56 of file imgIContainer.idl.


Public Member Functions

void addRestoreData ([array, size_is(aCount), const ] in char data, in unsigned long aCount)
void appendFrame (in gfxIImageFrame item)
void clear ()
void decodingComplete ()
void endFrameDecode (in unsigned long framenumber, in unsigned long timeout)
gfxIImageFrame getFrameAt (in unsigned long index)
void init (in PRInt32 aWidth, in PRInt32 aHeight, in imgIContainerObserver aObserver)
void removeFrame (in gfxIImageFrame item)
void resetAnimation ()
void restoreDataDone ()
void setDiscardable (in string aMimeType)
void startAnimation ()
void stopAnimation ()
Methods
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Public Attributes

attribute unsigned short animationMode
readonly attribute gfxIImageFrame currentFrame
readonly attribute PRInt32 height
const long kBlendOver = 1
const long kBlendSource = 0
const long kDisposeClear = 2
const long kDisposeClearAll = -1
const long kDisposeKeep = 1
const long kDisposeNotSpecified = 0
const long kDisposeRestorePrevious = 3
const short kDontAnimMode = 1
const short kLoopOnceAnimMode = 2
const short kNormalAnimMode = 0
attribute long loopCount
readonly attribute unsigned long numFrames
readonly attribute gfx_format preferredAlphaChannelFormat
readonly attribute PRInt32 width

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

Generated by  Doxygen 1.6.0   Back to index