khtmlImLoad::CanvasImage

khtmlImLoad::CanvasImage Class Reference

#include <canvasimage.h>

Inheritance diagram for khtmlImLoad::CanvasImage:

Public Member Functions

 CanvasImage (int width, int height)
 
void contentUpdated ()
 
void resizeImage (int width, int height)
 
- Public Member Functions inherited from khtmlImLoad::Image
 Image (ImageOwner *owner)
 
 ~Image ()
 
bool complete () const
 
bool hasAlpha () const
 
bool processData (uchar *data, int length)
 
void processEOF ()
 
QImageqimage () const
 
void setShowAnimations (KHTMLSettings::KAnimationAdvice)
 
QSize size () const
 

Additional Inherited Members

- Protected Member Functions inherited from khtmlImLoad::Image
void loadError ()
 
void notifyFrameChange ()
 
void notifyPerformUpdate ()
 
void noUpdates ()
 
void requestUpdate (int line)
 
- Protected Attributes inherited from khtmlImLoad::Image
KHTMLSettings::KAnimationAdvice animationAdvice
 
QByteArray bufferPreDetect
 
bool fullyDecoded
 
unsigned int height
 
bool inError
 
ImageLoaderloader
 
PixmapPlaneloaderPlane
 
unsigned int loaderScanline
 
PixmapPlaneoriginal
 
ImageOwnerowner
 
QMap< QPair< int, int >, PixmapPlane * > scaled
 
int updatesEndLine
 
bool updatesPending
 
int updatesStartLine
 
unsigned int width
 

Detailed Description

A CanvasImage encapsulates a QImage that will be painted on externally, in order to permit scaling of it.

When drawing happens, however, the client must call the contentUpdated() method to avoid out-of-date data being painted.

Definition at line 39 of file canvasimage.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon May 25 2020 22:52:18 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.