Qt 4.8
|
#include "qglgradientcache_p.h"
#include "qpaintengineex_opengl2_p.h"
#include <string.h>
#include <qmath.h>
#include <private/qgl_p.h>
#include <private/qmath_p.h>
#include <private/qpaintengineex_p.h>
#include <QPaintEngine>
#include <private/qpainter_p.h>
#include <private/qfontengine_p.h>
#include <private/qpixmapdata_gl_p.h>
#include <private/qdatabuffer_p.h>
#include <private/qstatictext_p.h>
#include <private/qtriangulator_p.h>
#include "qglengineshadermanager_p.h"
#include "qgl2pexvertexarray_p.h"
#include "qtriangulatingstroker_p.h"
#include "qtextureglyphcache_gl_p.h"
#include <QDebug>
Go to the source code of this file.
Classes | |
struct | QGL2PEVectorPathCache |
Macros | |
#define | QT_MAX_CACHED_GLYPH_SIZE 64 |
Functions | |
static bool | fontSmoothingApproximately (qreal target) |
static bool | isPowerOfTwo (uint x) |
Q_GUI_EXPORT QImage | qt_imageForBrush (int brushStyle, bool invert) |
QColor | qt_premultiplyColor (QColor c, GLfloat opacity) |
Q_GUI_EXPORT bool | qt_scaleForTransform (const QTransform &transform, qreal *scale) |
static qreal | qt_sRGB_to_linear_RGB (qreal f) |
static const QRectF | scaleRect (const QRectF &r, qreal sx, qreal sy) |
static void | setCoords (GLfloat *coords, const QGLRect &rect) |
Variables | |
bool | qt_applefontsmoothing_enabled |
Q_GUI_EXPORT bool | qt_cleartype_enabled |
#define QT_MAX_CACHED_GLYPH_SIZE 64 |
Definition at line 107 of file qpaintengineex_opengl2.cpp.
Referenced by QGL2PaintEngineEx::drawStaticTextItem(), and QGL2PaintEngineEx::drawTextItem().
|
static |
Definition at line 1578 of file qpaintengineex_opengl2.cpp.
Referenced by QGL2PaintEngineEx::begin(), and QGL2PaintEngineExPrivate::drawCachedGlyphs().
|
inlinestatic |
Definition at line 93 of file qpaintengineex_opengl2.cpp.
Referenced by QGL2PaintEngineExPrivate::drawCachedGlyphs(), and QGL2PaintEngineExPrivate::updateBrushTexture().
Q_GUI_EXPORT QImage qt_imageForBrush | ( | int | brushStyle, |
bool | invert | ||
) |
Definition at line 167 of file qbrush.cpp.
Referenced by QGL2PaintEngineExPrivate::updateBrushTexture().
Definition at line 151 of file qpaintengineex_opengl2.cpp.
Referenced by QGL2PaintEngineExPrivate::drawCachedGlyphs(), QGL2PaintEngineExPrivate::drawPixmapFragments(), QGL2PaintEngineExPrivate::drawTexture(), and QGL2PaintEngineExPrivate::updateBrushUniforms().
Q_GUI_EXPORT bool qt_scaleForTransform | ( | const QTransform & | transform, |
qreal * | scale | ||
) |
Definition at line 2407 of file qtransform.cpp.
Referenced by QGL2PaintEngineEx::fill(), and QGL2PaintEngineEx::stroke().
Definition at line 1585 of file qpaintengineex_opengl2.cpp.
Referenced by QGL2PaintEngineExPrivate::drawCachedGlyphs().
Definition at line 1369 of file qpaintengineex_opengl2.cpp.
Referenced by QGL2PaintEngineEx::drawImage(), and QGL2PaintEngineEx::drawPixmap().
|
inlinestatic |
Definition at line 511 of file qpaintengineex_opengl2.cpp.
Referenced by QGL2PaintEngineExPrivate::composite(), QGL2PaintEngineExPrivate::drawTexture(), and QRect::QRect().
bool qt_applefontsmoothing_enabled |
Definition at line 208 of file qapplication_mac.mm.
Referenced by QGL2PaintEngineEx::begin(), isPowerOfTwo(), and qt_mac_read_fontsmoothing_settings().
Q_GUI_EXPORT bool qt_cleartype_enabled |
Definition at line 241 of file qapplication_win.cpp.
Referenced by QGL2PaintEngineEx::begin(), and isPowerOfTwo().