Search for usage in LXR

khtmlImLoad::PixmapPlane Class Reference

#include <pixmapplane.h>

Inheritance diagram for khtmlImLoad::PixmapPlane:

Public Member Functions

 PixmapPlane (unsigned int _width, unsigned int _height, ImagePlane *_parent)
void flushCache ()
void paint (int dx, int dy, QPainter *p, int sx, int sy, int width=-1, int height=-1)
- 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

int refCount
- Public Attributes inherited from khtmlImLoad::Plane
unsigned int height
unsigned int tilesHeight
unsigned int tilesWidth
unsigned int width

Detailed Description

A pixmap plane is responsible for drawing data of an image plane.

Definition at line 41 of file pixmapplane.h.

Member Function Documentation

◆ paint()

void khtmlImLoad::PixmapPlane::paint ( int  dx,
int  dy,
QPainter p,
int  sx,
int  sy,
int  width = -1,
int  height = -1 

Paints a portion of the frame on the painter 'p' at dx and dy.

The source rectangle starts at sx, sy and has dimension width * height.

Definition at line 32 of file pixmapplane.cpp.

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

KDE's Doxygen guidelines are available online.