Qt 4.8
Functions | Variables
qprintengine_pdf.cpp File Reference
#include <QtGui/qprintengine.h>
#include <qiodevice.h>
#include <qpainter.h>
#include <qbitmap.h>
#include <qpainterpath.h>
#include <qpaintdevice.h>
#include <qfile.h>
#include <qdebug.h>
#include <qimagewriter.h>
#include <qbuffer.h>
#include <qdatetime.h>
#include <limits.h>
#include <math.h>
#include <zlib.h>
#include "qwinfunctions_wince.h"
#include "qprintengine_pdf_p.h"
#include "private/qdrawhelper_p.h"

Go to the source code of this file.

Functions

qint64 qt_image_id (const QImage &image)
 
QPaintEngine::PaintEngineFeatures qt_pdf_decide_features ()
 
qint64 qt_pixmap_id (const QPixmap &pixmap)
 

Variables

static const bool do_compress = true
 
static const bool interpolateImages = false
 

Function Documentation

◆ qt_image_id()

qint64 qt_image_id ( const QImage image)

Definition at line 117 of file qimage.cpp.

118 {
119  return image.cacheKey();
120 }
qint64 cacheKey() const
Returns a number that identifies the contents of this QImage object.
Definition: qimage.cpp:6282

◆ qt_pdf_decide_features()

QPaintEngine::PaintEngineFeatures qt_pdf_decide_features ( )
inline

◆ qt_pixmap_id()

qint64 qt_pixmap_id ( const QPixmap pixmap)

Definition at line 94 of file qpixmap.cpp.

Referenced by QPdfEnginePrivate::addBrushPattern(), and QItemDelegate::selected().

95 {
96  return pixmap.cacheKey();
97 }
qint64 cacheKey() const
Returns a number that identifies this QPixmap.
Definition: qpixmap.cpp:1136

Variable Documentation

◆ do_compress

const bool do_compress = true
static

◆ interpolateImages

const bool interpolateImages = false
static

Definition at line 78 of file qprintengine_pdf.cpp.

Referenced by QPdfEnginePrivate::writeImage().