Dillo v3.1.1-111-gd4f56d0d
Loading...
Searching...
No Matches
dw::core::style::StyleImage::ExternalWidgetImgRenderer Class Referenceabstract

Suitable for widgets and parts of widgets. More...

#include <style.hh>

Public Member Functions

void getPaddingArea (int *x, int *y, int *width, int *height)
 
StyleImagegetBackgroundImage ()
 
BackgroundRepeat getBackgroundRepeat ()
 
BackgroundAttachment getBackgroundAttachment ()
 
Length getBackgroundPositionX ()
 
Length getBackgroundPositionY ()
 
virtual StylegetStyle ()=0
 Return the style this background image is part of.
 
- 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.
 
virtual bool readyToDraw ()=0
 If this method returns false, nothing is done at all.
 
virtual void getBgArea (int *x, int *y, int *width, int *height)=0
 Return the area covered by the background image.
 
virtual void getRefArea (int *xRef, int *yRef, int *widthRef, int *heightRef)=0
 Return the "reference area".
 
virtual void draw (int x, int y, int width, int height)=0
 Draw (or queue for drawing) an area, which is given in canvas coordinates.
 
- Public Member Functions inherited from dw::core::ImgRenderer
virtual ~ImgRenderer ()
 

Detailed Description

Suitable for widgets and parts of widgets.

Definition at line 856 of file style.hh.

Member Function Documentation

◆ getBackgroundAttachment()

BackgroundAttachment dw::core::style::StyleImage::ExternalWidgetImgRenderer::getBackgroundAttachment ( )
virtual

◆ getBackgroundImage()

StyleImage * dw::core::style::StyleImage::ExternalWidgetImgRenderer::getBackgroundImage ( )
virtual

◆ getBackgroundPositionX()

Length dw::core::style::StyleImage::ExternalWidgetImgRenderer::getBackgroundPositionX ( )
virtual

◆ getBackgroundPositionY()

Length dw::core::style::StyleImage::ExternalWidgetImgRenderer::getBackgroundPositionY ( )
virtual

◆ getBackgroundRepeat()

BackgroundRepeat dw::core::style::StyleImage::ExternalWidgetImgRenderer::getBackgroundRepeat ( )
virtual

◆ getPaddingArea()

void dw::core::style::StyleImage::ExternalWidgetImgRenderer::getPaddingArea ( int *  x,
int *  y,
int *  width,
int *  height 
)

◆ getStyle()

virtual Style * dw::core::style::StyleImage::ExternalWidgetImgRenderer::getStyle ( )
pure virtual

Return the style this background image is part of.

Implemented in dw::Textblock::WordImgRenderer, dw::Textblock::SpaceImgRenderer, and dw::core::Widget::WidgetImgRenderer.


The documentation for this class was generated from the following files: