Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qglobal.h>
#include <QDebug>
#include "qpainter.h"
#include "qpixmap.h"
#include "qpixmapfilter_p.h"
#include "qvarlengtharray.h"
#include "private/qguiapplication_p.h"
#include "private/qpaintengineex_p.h"
#include "private/qpaintengine_raster_p.h"
#include "qmath.h"
#include "private/qmath_p.h"
#include "private/qdrawhelper_p.h"
#include <memory>
#include "moc_qpixmapfilter_p.cpp"
Go to the source code of this file.
Classes | |
class | QPixmapFilterPrivate |
class | QPixmapConvolutionFilterPrivate |
class | QPixmapBlurFilterPrivate |
class | QPixmapColorizeFilterPrivate |
class | QPixmapDropShadowFilterPrivate |
Functions | |
static void | convolute (QImage *destImage, const QPointF &pos, const QImage &srcImage, const QRectF &srcRect, QPainter::CompositionMode mode, qreal *kernel, int kernelWidth, int kernelHeight) |
Q_GUI_EXPORT bool | qt_scaleForTransform (const QTransform &transform, qreal *scale) |
Q_GUI_EXPORT void | qt_blurImage (QPainter *p, QImage &blurImage, qreal radius, bool quality, bool alphaOnly, int transposed=0) |
static void | grayscale (const QImage &image, QImage &dest, const QRect &rect=QRect()) |
Variables | |
const qreal | radiusScale = qreal(2.5) |
|
static |
Definition at line 274 of file qpixmapfilter.cpp.
References QRectF::adjusted(), cb, QPainter::CompositionMode_Source, QImage::convertToFormat(), QImage::Format_ARGB32_Premultiplied, i, QRect::intersected(), QRectF::isNull(), kernel, output, pix, pos, qBound(), rect, QRectF::toAlignedRect(), and QPoint::y().
Referenced by QPixmapConvolutionFilter::draw().
Definition at line 605 of file qpixmapfilter.cpp.
References QImage::bits(), QImage::height(), i, QRect::moveTo(), qAlpha(), qGray(), qRgba(), QImage::rect(), rect, QImage::scanLine(), QImage::size(), and QImage::width().
Referenced by QPdfEnginePrivate::addImage(), and QPixmapColorizeFilter::draw().
|
extern |
Definition at line 292 of file qimageeffects.cpp.
References QImage::Format_ARGB32_Premultiplied, QImage::Format_RGB32, qt_halfScaled(), and QPainter::SmoothPixmapTransform.
Referenced by QPixmapDropShadowFilter::draw(), and QPixmapBlurFilter::draw().
|
extern |
Definition at line 2148 of file qtransform.cpp.
Referenced by cubicTo_clipped().
Definition at line 545 of file qpixmapfilter.cpp.
Referenced by QPixmapBlurFilter::boundingRectFor(), QPixmapBlurFilter::draw(), QPhysXCharacterController::init(), and QPhysXCharacterController::sync().