Dillo v3.1.1-119-g140d9ebd
|
Public Member Functions | |
LayoutImgRenderer (Layout *layout) | |
bool | readyToDraw () |
If this method returns false, nothing is done at all. | |
void | getBgArea (int *x, int *y, int *width, int *height) |
Return the area covered by the background image. | |
void | getRefArea (int *xRef, int *yRef, int *widthRef, int *heightRef) |
Return the "reference area". | |
style::StyleImage * | getBackgroundImage () |
style::BackgroundRepeat | getBackgroundRepeat () |
style::BackgroundAttachment | getBackgroundAttachment () |
style::Length | getBackgroundPositionX () |
style::Length | getBackgroundPositionY () |
void | draw (int x, int y, int width, int height) |
Draw (or queue for drawing) an area, which is given in canvas coordinates. | |
Public Member Functions inherited from dw::core::style::StyleImage::ExternalImgRenderer | |
void | setBuffer (core::Imgbuf *buffer, bool resize) |
Called, when an image buffer is attached. | |
void | drawRow (int row) |
Called, when data from a row is available and has been copied into the image buffer. | |
void | finish () |
Called, when all image data has been retrieved. | |
void | fatal () |
Called, when there are problems with the retrieval of image data. | |
Public Member Functions inherited from dw::core::ImgRenderer | |
virtual | ~ImgRenderer () |
Private Attributes | |
Layout * | layout |
|
inline |
|
virtual |
Draw (or queue for drawing) an area, which is given in canvas coordinates.
Implements dw::core::style::StyleImage::ExternalImgRenderer.
Definition at line 89 of file layout.cc.
References layout.
|
virtual |
Implements dw::core::style::StyleImage::ExternalImgRenderer.
Definition at line 74 of file layout.cc.
References layout.
|
virtual |
Implements dw::core::style::StyleImage::ExternalImgRenderer.
Definition at line 63 of file layout.cc.
References layout.
|
virtual |
Implements dw::core::style::StyleImage::ExternalImgRenderer.
Definition at line 79 of file layout.cc.
References layout.
|
virtual |
Implements dw::core::style::StyleImage::ExternalImgRenderer.
Definition at line 84 of file layout.cc.
References layout.
|
virtual |
Implements dw::core::style::StyleImage::ExternalImgRenderer.
Definition at line 68 of file layout.cc.
References layout.
|
virtual |
Return the area covered by the background image.
Implements dw::core::style::StyleImage::ExternalImgRenderer.
|
virtual |
Return the "reference area".
See comment of "drawBackground".
Implements dw::core::style::StyleImage::ExternalImgRenderer.
Definition at line 49 of file layout.cc.
References layout, and lout::misc::max().
|
virtual |
If this method returns false, nothing is done at all.
Implements dw::core::style::StyleImage::ExternalImgRenderer.
|
private |
Definition at line 23 of file layout.hh.
Referenced by LayoutImgRenderer().