Qt 4.8
|
#include "qpaintengine_vg_p.h"
#include "qpixmapdata_vg_p.h"
#include "qpixmapfilter_vg_p.h"
#include "qvgcompositionhelper_p.h"
#include "qvgimagepool_p.h"
#include "qvgfontglyphcache_p.h"
#include <QtGui/private/qeglcontext_p.h>
#include "qwindowsurface_vgegl_p.h"
#include <QtCore/qvarlengtharray.h>
#include <QtGui/private/qdrawhelper_p.h>
#include <QtGui/private/qtextengine_p.h>
#include <QtGui/private/qfontengine_p.h>
#include <QtGui/private/qpainterpath_p.h>
#include <QtGui/private/qstatictext_p.h>
#include <QtGui/QApplication>
#include <QtGui/QDesktopWidget>
#include <QtCore/qmath.h>
#include <QDebug>
#include <QSet>
#include "qpaintengine_vg.moc"
Go to the source code of this file.
Classes | |
class | QVGFontEngineCleaner |
class | QVGPaintEnginePrivate |
Functions | |
static bool | clipTransformIsSimple (const QTransform &transform) |
static QImage | colorizeBitmap (const QImage &image, const QColor &color) |
static void | drawImageTiled (QVGPaintEnginePrivate *d, const QRectF &r, const QImage &image, const QRectF &sr=QRectF()) |
static void | drawVGImage (QVGPaintEnginePrivate *d, const QRectF &r, VGImage vgImg, const QSize &imageSize, const QRectF &sr) |
static void | drawVGImage (QVGPaintEnginePrivate *d, const QPointF &pos, VGImage vgImg) |
static void | fillBackgroundRect (const QRect &rect, QVGPaintEnginePrivate *d) |
Q_GUI_EXPORT QImage | qt_imageForBrush (int style, bool invert) |
Q_GUI_EXPORT QPainterPath | qt_painterPathFromVectorPath (const QVectorPath &path) |
Q_GUI_EXPORT bool | qt_scaleForTransform (const QTransform &transform, qreal *scale) |
void | qt_vg_drawVGImage (QPainter *painter, const QPointF &pos, VGImage vgImg) |
void | qt_vg_drawVGImageStencil (QPainter *painter, const QPointF &pos, VGImage vgImg, const QBrush &brush) |
VGImageFormat | qt_vg_image_to_vg_format (QImage::Format format) |
static bool | qt_vg_pathToRect (const QPainterPath &path, QRectF *rect) |
static VGImage | toVGImage (const QImage &image, Qt::ImageConversionFlags flags=Qt::AutoColor) |
static VGImage | toVGImageSubRect (const QImage &image, const QRect &sr, Qt::ImageConversionFlags flags=Qt::AutoColor) |
static VGImage | toVGImageWithOpacity (const QImage &image, qreal opacity) |
static VGImage | toVGImageWithOpacitySubRect (const QImage &image, qreal opacity, const QRect &sr) |
Variables | |
static const qreal | aliasedCoordinateDelta = 0.5 - 0.015625 |
|
inlinestatic |
Definition at line 1618 of file qpaintengine_vg.cpp.
Referenced by QVGPaintEngine::clip(), and QVGPaintEngine::fillRect().
Definition at line 1024 of file qpaintengine_vg.cpp.
Referenced by QVGPaintEnginePrivate::setBrush().
|
static |
Definition at line 3181 of file qpaintengine_vg.cpp.
Referenced by QVGPaintEngine::drawImage().
|
static |
Definition at line 3134 of file qpaintengine_vg.cpp.
Referenced by QVGPaintEngine::drawImage(), QVGPaintEngine::drawPixmap(), and qt_vg_drawVGImage().
|
static |
Definition at line 3167 of file qpaintengine_vg.cpp.
|
static |
Definition at line 4069 of file qpaintengine_vg.cpp.
Referenced by QVGCompositionHelper::fillBackground().
Q_GUI_EXPORT QImage qt_imageForBrush | ( | int | style, |
bool | invert | ||
) |
Definition at line 167 of file qbrush.cpp.
Referenced by QVGPaintEnginePrivate::roundedRectPath(), and QVGPaintEnginePrivate::setBrush().
Q_GUI_EXPORT QPainterPath qt_painterPathFromVectorPath | ( | const QVectorPath & | path | ) |
Definition at line 1033 of file qpaintengineex.cpp.
Referenced by QVGPaintEngine::draw(), and QVGPaintEngine::fill().
Q_GUI_EXPORT bool qt_scaleForTransform | ( | const QTransform & | transform, |
qreal * | scale | ||
) |
Definition at line 2407 of file qtransform.cpp.
Referenced by cubicTo_clipped(), lineTo_clipped(), QVGPaintEnginePrivate::setTransform(), and QVGPaintEnginePrivate::updateTransform().
Definition at line 3278 of file qpaintengine_vg.cpp.
Referenced by QVGPixmapConvolutionFilter::draw(), QVGPixmapColorizeFilter::draw(), QVGPixmapBlurFilter::draw(), and QVGPixmapConvolutionFilter::~QVGPixmapConvolutionFilter().
void qt_vg_drawVGImageStencil | ( | QPainter * | painter, |
const QPointF & | pos, | ||
VGImage | vgImg, | ||
const QBrush & | brush | ||
) |
Definition at line 3287 of file qpaintengine_vg.cpp.
Referenced by QVGPixmapDropShadowFilter::draw(), qt_vg_drawVGImage(), and QVGPixmapConvolutionFilter::~QVGPixmapConvolutionFilter().
VGImageFormat qt_vg_image_to_vg_format | ( | QImage::Format | format | ) |
Definition at line 4239 of file qpaintengine_vg.cpp.
Referenced by QVGPaintEngine::canVgWritePixels(), QVGPaintEngine::drawImage(), drawImageTiled(), QVGPixmapData::ensureReadback(), qt_vg_config_to_vg_format(), and QVGPixmapData::toVGImage().
|
static |
Definition at line 2077 of file qpaintengine_vg.cpp.
Referenced by QVGPaintEngine::clip().
|
static |
Definition at line 1044 of file qpaintengine_vg.cpp.
Referenced by colorizeBitmap(), QVGPaintEngine::drawImage(), and QVGPaintEnginePrivate::setBrush().
|
static |
Definition at line 1090 of file qpaintengine_vg.cpp.
Referenced by QVGPaintEngine::drawImage(), and toVGImage().
Definition at line 1134 of file qpaintengine_vg.cpp.
Referenced by QVGPaintEngine::drawImage(), and QVGPaintEnginePrivate::setBrush().
|
static |
Definition at line 1156 of file qpaintengine_vg.cpp.
Referenced by QVGPaintEngine::drawImage(), and toVGImageWithOpacity().
|
static |
Definition at line 76 of file qpaintengine_vg.cpp.
Referenced by QVGPaintEngine::drawCachedGlyphs(), and QVGPaintEnginePrivate::ensurePathTransform().