imgIDecoderObserver

IID:cce7152e-4395-4231-a781-c347c5446cc2
Inherits From:imgIContainerObserver

ImgIDecoderObserver interface


Methods

[noscript] void onDataAvailable ( imgIRequest* request , gfxIImageFrame* frame , nsIntRect rect ) void onStartContainer ( imgIRequest* request , imgIContainer* container ) void onStartDecode ( imgIRequest* request ) void onStartFrame ( imgIRequest* request , gfxIImageFrame* frame ) void onStopContainer ( imgIRequest* request , imgIContainer* container ) void onStopDecode ( imgIRequest* request , nsresult status , PRUnichar* statusArg ) void onStopFrame ( imgIRequest* request , gfxIImageFrame* frame )

void onDataAvailable ( imgIRequest* request , gfxIImageFrame* frame , nsIntRect rect )

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

Arguments:
request
frame
rect

void onStartContainer ( imgIRequest* request , imgIContainer* container )

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

Arguments:
request
container

void onStartDecode ( imgIRequest* request )

Called as soon as the image begins getting decoded

Arguments:
request

void onStartFrame ( imgIRequest* request , gfxIImageFrame* frame )

Called when each frame is created

Arguments:
request
frame

void onStopContainer ( imgIRequest* request , imgIContainer* container )

Probably not needed. called right before onStopDecode

Arguments:
request
container

void onStopDecode ( imgIRequest* request , nsresult status , PRUnichar* statusArg )

Called when the decoder is dying off

Arguments:
request
status
statusArg

void onStopFrame ( imgIRequest* request , gfxIImageFrame* frame )

Called when a frame is finished decoding

Arguments:
request
frame

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com