Qt 4.8
|
#include <QtCore/qglobal.h>
#include <QtCore/qmutex.h>
#include <private/qrasterdefs_p.h>
#include <private/qgrayraster_p.h>
#include <qpainterpath.h>
#include <qdebug.h>
#include <qhash.h>
#include <qlabel.h>
#include <qbitmap.h>
#include <qmath.h>
#include <private/qfontengine_ft_p.h>
#include <private/qmath_p.h>
#include <private/qtextengine_p.h>
#include <private/qfontengine_p.h>
#include <private/qpixmap_raster_p.h>
#include <private/qimage_p.h>
#include <private/qstatictext_p.h>
#include <private/qcosmeticstroker_p.h>
#include "qmemrotate_p.h"
#include "qpaintengine_raster_p.h"
#include "qoutlinemapper_p.h"
#include <qt_windows.h>
#include <qvarlengtharray.h>
#include "qguifunctions_wince.h"
#include <limits.h>
Go to the source code of this file.
Classes | |
struct | ClipData |
class | QGradientCache |
struct | QGradientCache::CacheInfo |
struct | QRasterFloatPoint |
Macros | |
#define | int_dim(pos, dim) (int(pos+dim) - int(pos)) |
#define | qreal_to_fixed_26_6(f) (int(f * 64)) |
#define | QT_FAST_SPANS |
#define | QT_FT_BEGIN_HEADER |
#define | QT_FT_END_HEADER |
#define | qt_swap_int(x, y) { int tmp = (x); (x) = (y); (y) = tmp; } |
#define | qt_swap_qreal(x, y) { qreal tmp = (x); (x) = (y); (y) = tmp; } |
Enumerations | |
enum | LineDrawMode { LineDrawClipped, LineDrawNormal, LineDrawIncludeLastPixel } |
enum | RotationType |
Functions | |
static uchar * | alignAddress (uchar *address, quintptr alignmentMask) |
static void | drawEllipse_midpoint_i (const QRect &rect, const QRect &clip, ProcessSpans pen_func, ProcessSpans brush_func, QSpanData *pen_data, QSpanData *brush_data) |
Draws an ellipse using the integer point midpoint algorithm. More... | |
static void | drawEllipsePoints (int x, int y, int length, const QRect &rect, const QRect &clip, ProcessSpans pen_func, ProcessSpans brush_func, QSpanData *pen_data, QSpanData *brush_data) |
static int | fast_ceil_positive (const qreal &v) |
static void | fillRect_normalized (const QRect &r, QSpanData *data, QRasterPaintEnginePrivate *pe) |
static bool | isAbove (const QPointF *a, const QPointF *b) |
template<typename T > | |
static bool | isRect (const T *pts, int elementCount) |
static bool | monoVal (const uchar *s, int x) |
int | q_gray_rendered_spans (QT_FT_Raster raster) |
static void | qrasterpaintengine_dirty_clip (QRasterPaintEnginePrivate *d, QRasterPaintEngineState *s) |
static void | qrasterpaintengine_state_setNoClip (QRasterPaintEngineState *s) |
static void | qt_ft_outline_cubic_to (qfixed c1x, qfixed c1y, qfixed c2x, qfixed c2y, qfixed ex, qfixed ey, void *data) |
static void | qt_ft_outline_line_to (qfixed x, qfixed y, void *data) |
static void | qt_ft_outline_move_to (qfixed x, qfixed y, void *data) |
const QVector< QRgb > * | qt_image_colortable (const QImage &image) |
Q_GUI_EXPORT QImage | qt_imageForBrush (int brushStyle, bool invert) |
static const QSpan * | qt_intersect_spans (const QClipData *clip, int *currentClip, const QSpan *spans, const QSpan *end, QSpan **outSpans, int available) |
static int | qt_intersect_spans (QT_FT_Span *spans, int numSpans, const QRect &clip) |
QRectF | qt_mapRect_non_normalizing (const QRectF &r, const QTransform &t) |
static void | qt_merge_clip (const QClipData *c1, const QClipData *c2, QClipData *result) |
Q_GUI_EXPORT bool | qt_scaleForTransform (const QTransform &transform, qreal *scale) |
static void | qt_span_clip (int count, const QSpan *spans, void *userData) |
static void | qt_span_fill_clipped (int count, const QSpan *spans, void *userData) |
static void | qt_span_fill_clipRect (int count, const QSpan *spans, void *userData) |
static bool | splitPolygon (const QPointF *points, int pointCount, QVector< QPointF > *upper, QVector< QPointF > *lower) |
static const QRect | toAlignedRect_positive (const QRectF &rect) |
static QRect | toNormalizedFillRect (const QRectF &rect) |
static const QRect | toRect_normalized (const QRectF &rect) |
Variables | |
static const qreal | aliasedCoordinateDelta = 0.5 - 0.015625 |
bool | qt_applefontsmoothing_enabled |
bool | qt_cleartype_enabled |
#define int_dim | ( | pos, | |
dim | |||
) | (int(pos+dim) - int(pos)) |
Definition at line 128 of file qpaintengine_raster.cpp.
Referenced by QRasterPaintEngine::drawEllipse().
#define qreal_to_fixed_26_6 | ( | f | ) | (int(f * 64)) |
Definition at line 113 of file qpaintengine_raster.cpp.
#define QT_FAST_SPANS |
Definition at line 122 of file qpaintengine_raster.cpp.
#define QT_FT_BEGIN_HEADER |
Definition at line 45 of file qpaintengine_raster.cpp.
#define QT_FT_END_HEADER |
Definition at line 46 of file qpaintengine_raster.cpp.
#define qt_swap_int | ( | x, | |
y | |||
) | { int tmp = (x); (x) = (y); (y) = tmp; } |
Definition at line 114 of file qpaintengine_raster.cpp.
#define qt_swap_qreal | ( | x, | |
y | |||
) | { qreal tmp = (x); (x) = (y); (y) = tmp; } |
Definition at line 115 of file qpaintengine_raster.cpp.
enum LineDrawMode |
Enumerator | |
---|---|
LineDrawClipped | |
LineDrawNormal | |
LineDrawIncludeLastPixel |
Definition at line 157 of file qpaintengine_raster.cpp.
enum RotationType |
Definition at line 2216 of file qpaintengine_raster.cpp.
Definition at line 3775 of file qpaintengine_raster.cpp.
Referenced by QRasterPaintEnginePrivate::rasterize().
|
static |
Draws an ellipse using the integer point midpoint algorithm.
Definition at line 5133 of file qpaintengine_raster.cpp.
Referenced by QRasterPaintEngine::drawEllipse().
|
inlinestatic |
Definition at line 5058 of file qpaintengine_raster.cpp.
Referenced by drawEllipse_midpoint_i().
|
inlinestatic |
Definition at line 2143 of file qpaintengine_raster.cpp.
Referenced by toAlignedRect_positive().
|
static |
Definition at line 1435 of file qpaintengine_raster.cpp.
Referenced by QRasterPaintEngine::drawImage(), QRasterPaintEngine::drawRects(), QRasterPaintEngine::drawTiledPixmap(), QRasterPaintEngine::fill(), and QRasterPaintEngine::fillRect().
|
inlinestatic |
Definition at line 194 of file qpaintengine_raster.cpp.
Referenced by QRasterPaintEngine::clip(), QRasterPaintEngine::drawPolygon(), QClipData::fixup(), and qt_region_strictContains().
|
inlinestatic |
Definition at line 2549 of file qpaintengine_raster.cpp.
Referenced by QRasterPaintEngine::alphaPenBlt().
int q_gray_rendered_spans | ( | QT_FT_Raster | raster | ) |
Referenced by QRasterPaintEnginePrivate::rasterize().
|
static |
Definition at line 1159 of file qpaintengine_raster.cpp.
Referenced by QRasterPaintEngine::clip(), and QRasterPaintEngine::setClipRectInDeviceCoords().
|
static |
Definition at line 1151 of file qpaintengine_raster.cpp.
Referenced by QRasterPaintEngine::clip().
|
static |
Definition at line 219 of file qpaintengine_raster.cpp.
Referenced by QRasterPaintEngine::init().
Definition at line 214 of file qpaintengine_raster.cpp.
Referenced by QRasterPaintEngine::init().
Definition at line 209 of file qpaintengine_raster.cpp.
Referenced by QRasterPaintEngine::init().
Q_GUI_EXPORT QImage qt_imageForBrush | ( | int | brushStyle, |
bool | invert | ||
) |
Definition at line 167 of file qbrush.cpp.
Referenced by QSpanData::setup().
|
static |
Definition at line 4325 of file qpaintengine_raster.cpp.
Referenced by drawEllipsePoints(), qt_span_clip(), qt_span_fill_clipped(), and qt_span_fill_clipRect().
|
static |
Definition at line 4415 of file qpaintengine_raster.cpp.
QRectF qt_mapRect_non_normalizing | ( | const QRectF & | r, |
const QTransform & | t | ||
) |
Definition at line 2210 of file qpaintengine_raster.cpp.
Referenced by QRasterPaintEngine::drawImage().
Definition at line 3652 of file qpaintengine_raster.cpp.
Referenced by QRasterPaintEngine::clip().
Q_GUI_EXPORT bool qt_scaleForTransform | ( | const QTransform & | transform, |
qreal * | scale | ||
) |
Definition at line 2407 of file qtransform.cpp.
Referenced by QRasterPaintEngine::updateMatrix().
|
static |
Definition at line 4465 of file qpaintengine_raster.cpp.
Referenced by QRasterPaintEngine::clip().
|
static |
Definition at line 4388 of file qpaintengine_raster.cpp.
Referenced by QSpanData::adjustSpanMethods().
|
static |
Definition at line 4449 of file qpaintengine_raster.cpp.
Referenced by QSpanData::adjustSpanMethods().
|
static |
Definition at line 1844 of file qpaintengine_raster.cpp.
Referenced by QRasterPaintEngine::fillPolygon().
Definition at line 2152 of file qpaintengine_raster.cpp.
Referenced by QRasterPaintEngine::drawImage().
Definition at line 1681 of file qpaintengine_raster.cpp.
Referenced by QRasterPaintEngine::fill(), and QRasterPaintEngine::fillRect().
Definition at line 2133 of file qpaintengine_raster.cpp.
|
static |
Definition at line 131 of file qpaintengine_raster.cpp.
Referenced by QRasterPaintEngine::drawCachedGlyphs(), QRasterPaintEngine::drawImage(), QRasterPaintEngine::drawTextItem(), and toNormalizedFillRect().
bool qt_applefontsmoothing_enabled |
Definition at line 208 of file qapplication_mac.mm.
Referenced by QRasterPaintEngine::begin().
bool qt_cleartype_enabled |
Definition at line 241 of file qapplication_win.cpp.
Referenced by QRasterPaintEngine::begin().