khtmlImLoad::RawImagePlane

khtmlImLoad::RawImagePlane Class Reference

#include <rawimageplane.h>

Inheritance diagram for khtmlImLoad::RawImagePlane:

Public Member Functions

 RawImagePlane (unsigned int _width, unsigned int _height, char initialVer=0)
 
virtual void ensureUpToDate (unsigned int tileX, unsigned int tileY, PixmapTile *tile) override
 
void flushCache () override
 
virtual bool isUpToDate (unsigned int tileX, unsigned int tileY, PixmapTile *tile) override
 
- Public Member Functions inherited from khtmlImLoad::ImagePlane
 ImagePlane (unsigned int _width, unsigned int _height)
 
- Public Member Functions inherited from khtmlImLoad::Plane
 Plane (unsigned int _width, unsigned int _height)
 
unsigned int tileHeight (unsigned int tileY)
 
unsigned int tileWidth (unsigned int tileX)
 

Public Attributes

QImage image
 
unsigned char * versions
 
- Public Attributes inherited from khtmlImLoad::ImagePlane
ImageFormat format
 
- Public Attributes inherited from khtmlImLoad::Plane
unsigned int height
 
unsigned int tilesHeight
 
unsigned int tilesWidth
 
unsigned int width
 

Additional Inherited Members

- Protected Member Functions inherited from khtmlImLoad::ImagePlane
bool checkUpToDate (const unsigned char *versions, PixmapTile *tile)
 
void setupTile (unsigned int tileX, unsigned int tileY, PixmapTile *tile)
 
void updatePixmap (PixmapTile *tile, const QImage &image, unsigned int tileX, unsigned int tileY, unsigned int offX, unsigned int offY, unsigned char *versions)
 

Detailed Description

A raw image plane merely contains a QImage.

Definition at line 36 of file rawimageplane.h.

Member Function Documentation

void khtmlImLoad::RawImagePlane::ensureUpToDate ( unsigned int  tileX,
unsigned int  tileY,
PixmapTile *  tile 
)
overridevirtual

Ensures that the given pixmap tile is up-to-date.

Implements khtmlImLoad::ImagePlane.

Definition at line 36 of file rawimageplane.cpp.

bool khtmlImLoad::RawImagePlane::isUpToDate ( unsigned int  tileX,
unsigned int  tileY,
PixmapTile *  tile 
)
overridevirtual

Returns true if the given pixmap tile is up-to-date.

Note that this should compare the information in the pixmap with ideal the up-to-date image using the decoding information thus far, and not with the state of the image proper. (Which might not even be in memory)

Implements khtmlImLoad::ImagePlane.

Definition at line 29 of file rawimageplane.cpp.


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.