Dillo v3.1.1-98-g318d1f14
|
... More...
#include <imgrenderer.hh>
Public Member Functions | |
virtual | ~ImgRenderer () |
virtual void | setBuffer (core::Imgbuf *buffer, bool resize=false)=0 |
Called, when an image buffer is attached. | |
virtual void | drawRow (int row)=0 |
Called, when data from a row is available and has been copied into the image buffer. | |
virtual void | finish ()=0 |
Called, when all image data has been retrieved. | |
virtual void | fatal ()=0 |
Called, when there are problems with the retrieval of image data. | |
|
inlinevirtual |
Definition at line 19 of file imgrenderer.hh.
|
pure virtual |
Called, when data from a row is available and has been copied into the image buffer.
The implementation will typically queue the respective area for drawing.
Implemented in dw::Image, dw::core::ImgRendererDist, dw::core::style::StyleImage::StyleImgRenderer, and dw::core::style::StyleImage::ExternalImgRenderer.
Referenced by imageDrawTimeout().
|
pure virtual |
Called, when there are problems with the retrieval of image data.
The implementation may use this to indicate an error.
Implemented in dw::Image, dw::core::ImgRendererDist, dw::core::style::StyleImage::StyleImgRenderer, and dw::core::style::StyleImage::ExternalImgRenderer.
|
pure virtual |
Called, when all image data has been retrieved.
The implementation may use this instead of "drawRow" for drawing, to limit the number of draws.
Implemented in dw::Image, dw::core::ImgRendererDist, dw::core::style::StyleImage::StyleImgRenderer, and dw::core::style::StyleImage::ExternalImgRenderer.
|
pure virtual |
Called, when an image buffer is attached.
This is typically the case when all meta data (size, depth) has been read.
Implemented in dw::core::ImgRendererDist, dw::core::style::StyleImage::StyleImgRenderer, dw::core::style::StyleImage::ExternalImgRenderer, and dw::Image.
Referenced by imageInitTimeout().