Dillo
|
... 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. More... | |
virtual void | drawRow (int row)=0 |
Called, when data from a row is available and has been copied into the image buffer. More... | |
virtual void | finish ()=0 |
Called, when all image data has been retrieved. More... | |
virtual void | fatal ()=0 |
Called, when there are problems with the retrieval of image data. More... | |
...
|
inlinevirtual |
|
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::core::style::StyleImage::ExternalImgRenderer, dw::core::style::StyleImage::StyleImgRenderer, dw::Image, and dw::core::ImgRendererDist.
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::core::style::StyleImage::ExternalImgRenderer, dw::core::style::StyleImage::StyleImgRenderer, dw::Image, and dw::core::ImgRendererDist.
|
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::core::style::StyleImage::ExternalImgRenderer, dw::core::style::StyleImage::StyleImgRenderer, dw::Image, and dw::core::ImgRendererDist.
|
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::style::StyleImage::ExternalImgRenderer, dw::core::style::StyleImage::StyleImgRenderer, dw::Image, and dw::core::ImgRendererDist.
Referenced by imageInitTimeout().