Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
imgIDecoderObserver Interface Reference

imgIDecoderObserver interface More...

import "imgIDecoderObserver.idl";

Inheritance diagram for imgIDecoderObserver:
Inheritance graph
[legend]
Collaboration diagram for imgIDecoderObserver:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void onStartDecode (in imgIRequest aRequest)
 called as soon as the image begins getting decoded
void onStartContainer (in imgIRequest aRequest, in imgIContainer aContainer)
 called once the image has been inited and therefore has a width and height
void onStartFrame (in imgIRequest aRequest, in gfxIImageFrame aFrame)
 called when each frame is created
void onDataAvailable (in imgIRequest aRequest, in gfxIImageFrame aFrame,[const ] in nsIntRect aRect)
 called when some part of the frame has new data in it
void onStopFrame (in imgIRequest aRequest, in gfxIImageFrame aFrame)
 called when a frame is finished decoding
void onStopContainer (in imgIRequest aRequest, in imgIContainer aContainer)
 probably not needed.
void onStopDecode (in imgIRequest aRequest, in nsresult status, in wstring statusArg)
 called when the decoder is dying off
void frameChanged (in imgIContainer aContainer, in gfxIImageFrame aFrame, in nsIntRect aDirtyRect)

Detailed Description

imgIDecoderObserver interface

This interface is used both for observing imgIDecoder objects and for observing imgIRequest objects. In the former case, aRequest is always null. XXXldb The two functions should probably be split.

Author:
Stuart Parmenter pavlo.nosp@m.v@ne.nosp@m.tscap.nosp@m.e.co.nosp@m.m
Version:
0.1
See also:
imagelib2

Definition at line 63 of file imgIDecoderObserver.idl.


Member Function Documentation

void imgIContainerObserver::frameChanged ( in imgIContainer  aContainer,
in gfxIImageFrame  aFrame,
in nsIntRect  aDirtyRect 
) [inherited]
void imgIDecoderObserver::onDataAvailable ( in imgIRequest  aRequest,
in gfxIImageFrame  aFrame,
[const ] in nsIntRect  aRect 
)

called when some part of the frame has new data in it

called once the image has been inited and therefore has a width and height

Here is the caller graph for this function:

called as soon as the image begins getting decoded

Here is the caller graph for this function:

called when each frame is created

probably not needed.

called right before onStopDecode

Here is the caller graph for this function:

void imgIDecoderObserver::onStopDecode ( in imgIRequest  aRequest,
in nsresult  status,
in wstring  statusArg 
)

called when the decoder is dying off

Here is the caller graph for this function:

called when a frame is finished decoding


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