khtmlImLoad::Image
khtmlImLoad::Image Class Reference
#include <image.h>
Inheritance diagram for khtmlImLoad::Image:

Public Member Functions | |
Image (ImageOwner *owner) | |
~Image () | |
bool | complete () const |
bool | hasAlpha () const |
bool | processData (uchar *data, int length) |
void | processEOF () |
QImage * | qimage () const |
void | setShowAnimations (KHTMLSettings::KAnimationAdvice) |
QSize | size () const |
Protected Member Functions | |
void | loadError () |
void | notifyFrameChange () |
void | notifyPerformUpdate () |
void | noUpdates () |
void | requestUpdate (int line) |
Protected Attributes | |
KHTMLSettings::KAnimationAdvice | animationAdvice |
QByteArray | bufferPreDetect |
bool | fullyDecoded |
unsigned int | height |
bool | inError |
ImageLoader * | loader |
PixmapPlane * | loaderPlane |
unsigned int | loaderScanline |
PixmapPlane * | original |
ImageOwner * | owner |
QMap< QPair< int, int >, PixmapPlane * > | scaled |
int | updatesEndLine |
bool | updatesPending |
int | updatesStartLine |
unsigned int | width |
Detailed Description
An image represents a static picture or an animation, that may be incrementally loaded.
Constructor & Destructor Documentation
◆ Image()
khtmlImLoad::Image::Image | ( | ImageOwner * | owner | ) |
Creates an image with a given owner; the owner will be notified about the repaint event, the image geometry, and so on; and also if the image can not be decoded.
The image must be fed data through the processData() call; and it will take care of the rest automatically.
◆ ~Image()
Member Function Documentation
◆ complete()
bool khtmlImLoad::Image::complete | ( | ) | const |
◆ hasAlpha()
bool khtmlImLoad::Image::hasAlpha | ( | ) | const |
◆ notifyFrameChange()
|
protected |
◆ notifyPerformUpdate()
|
protected |
◆ processData()
bool khtmlImLoad::Image::processData | ( | uchar * | data, |
int | length | ||
) |
◆ processEOF()
void khtmlImLoad::Image::processEOF | ( | ) |
◆ qimage()
QImage * khtmlImLoad::Image::qimage | ( | ) | const |
Returns the image of basic content.
Should be treated as READ ONLY. (but see CanvasImage)
◆ setShowAnimations()
void khtmlImLoad::Image::setShowAnimations | ( | KHTMLSettings::KAnimationAdvice | newAdvice | ) |
◆ size()
QSize khtmlImLoad::Image::size | ( | ) | const |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Aug 11 2022 03:57:30 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Aug 11 2022 03:57:30 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.