khtmlImLoad::ScaledImagePlane

khtmlImLoad::ScaledImagePlane Class Reference

#include <scaledimageplane.h>

Inheritance diagram for khtmlImLoad::ScaledImagePlane:

Public Member Functions

 ScaledImagePlane (unsigned int _width, unsigned int _height, RawImagePlane *_parent)
 
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)
 

Additional Inherited Members

- 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
 
- 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 scaled image plane pulls data from a RawImagePlane and resizes it.

Definition at line 39 of file scaledimageplane.h.

Member Function Documentation

void khtmlImLoad::ScaledImagePlane::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 101 of file scaledimageplane.cpp.

bool khtmlImLoad::ScaledImagePlane::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 35 of file scaledimageplane.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.