mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-19 16:01:41 +00:00
0bf49e554d
svn path=/trunk/kdegraphics/kpdf/; revision=347994
41 lines
1.4 KiB
C++
41 lines
1.4 KiB
C++
/***************************************************************************
|
|
* Copyright (C) 2003-2004 by Christophe Devriese *
|
|
* <Christophe.Devriese@student.kuleuven.ac.be> *
|
|
* Copyright (C) 2003 by Laurent Montel <montel@kde.org> *
|
|
* Copyright (C) 2003 by Helio Chissini de Castro *
|
|
* <helio@conectiva.com.br> *
|
|
* Copyright (C) 2004 by Albert Astals Cid <tsdgeos@terra.es> *
|
|
* *
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
* it under the terms of the GNU General Public License as published by *
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
* (at your option) any later version. *
|
|
***************************************************************************/
|
|
|
|
#ifndef QOUTPUTDEVPIXMAP_H
|
|
#define QOUTPUTDEVPIXMAP_H
|
|
|
|
#include "QOutputDev.h"
|
|
|
|
#include <qimage.h>
|
|
|
|
class QOutputDevPixmap : public QOutputDev {
|
|
public:
|
|
|
|
// Constructor.
|
|
QOutputDevPixmap(SplashColor paperColor);
|
|
|
|
// Destructor.
|
|
virtual ~QOutputDevPixmap();
|
|
|
|
// End a page
|
|
virtual void endPage();
|
|
|
|
const QImage &getImage() const;
|
|
|
|
private:
|
|
QImage m_image;
|
|
};
|
|
|
|
#endif // QOUTPUTDEVPIXMAP
|