![]() |
Qt 4.8
|
#include "qbrush.h"#include "qpixmap.h"#include "qbitmap.h"#include "qpixmapcache.h"#include "qdatastream.h"#include "qvariant.h"#include "qline.h"#include "qdebug.h"#include <QtCore/qcoreapplication.h>#include "private/qstylehelper_p.h"#include <QtCore/qnumeric.h>Go to the source code of this file.
Classes | |
| struct | QBrushDataPointerDeleter |
| class | QBrushPatternImageCache |
| class | QGlobalStaticDeleter< QBrushData > |
| struct | QGradientBrushData |
| struct | QTexturedBrushData |
Macros | |
| #define | Q_DUMMY_ACCESSOR union {void *p; uint i;}; p = dummy; |
| #define Q_DUMMY_ACCESSOR union {void *p; uint i;}; p = dummy; |
Definition at line 1530 of file qbrush.cpp.
Referenced by QGradient::coordinateMode(), QRadialGradient::focalRadius(), QGradient::interpolationMode(), QGradient::setCoordinateMode(), QRadialGradient::setFocalRadius(), and QGradient::setInterpolationMode().
Definition at line 1058 of file qbrush.cpp.
|
related |
Definition at line 1111 of file qbrush.cpp.
Referenced by QBrush::setColor().
|
related |
Definition at line 1182 of file qbrush.cpp.
Referenced by QBrush::setColor().
| Q_GLOBAL_STATIC_WITH_INITIALIZER | ( | QBrushPatternImageCache | , |
| qt_brushPatternImageCache | , | ||
| { qAddPostRoutine(qt_cleanup_brush_pattern_image_cache);} | |||
| ) |
Definition at line 157 of file qbrush.cpp.
| Q_GLOBAL_STATIC_WITH_INITIALIZER | ( | QBrushData | , |
| nullBrushInstance | , | ||
| { x->ref=1;x->style=Qt::BrushStyle(0);x->color=Qt::black;} | |||
| ) |
Definition at line 365 of file qbrush.cpp.
| bool Q_GUI_EXPORT qHasPixmapTexture | ( | const QBrush & | brush | ) |
Definition at line 223 of file qbrush.cpp.
Referenced by check_gradient(), QTextHtmlExporter::emitBackgroundAttribute(), QTextHtmlExporter::emitBlock(), is_brush_transparent(), QGL2PaintEngineExPrivate::setBrush(), QSpanData::setup(), QGL2PaintEngineExPrivate::updateBrushUniforms(), and QPainterPrivate::updateEmulationSpecifier().
|
static |
Referenced by Q_GLOBAL_STATIC_WITH_INITIALIZER().
| Q_GUI_EXPORT QImage qt_imageForBrush | ( | int | brushStyle, |
| bool | invert | ||
| ) |
Definition at line 167 of file qbrush.cpp.
Referenced by QOpenGLPaintEnginePrivate::composite(), QVGPaintEnginePrivate::roundedRectPath(), QVGPaintEnginePrivate::setBrush(), QSpanData::setup(), and QGL2PaintEngineExPrivate::updateBrushTexture().
| Q_GUI_EXPORT bool qt_isExtendedRadialGradient | ( | const QBrush & | brush | ) |
Definition at line 881 of file qbrush.cpp.
Referenced by QOpenGLPaintEngine::fill(), QOpenGLPaintEnginePrivate::fillPath(), QBrush::isOpaque(), QVGPaintEnginePrivate::needsEmulation(), QPainterPrivate::updateEmulationSpecifier(), QPainterPrivate::updateInvMatrix(), and QOpenGLPaintEnginePrivate::updateUseEmulation().
| const uchar* qt_patternForBrush | ( | int | brushStyle, |
| bool | invert | ||
| ) |
Definition at line 56 of file qbrush.cpp.
Referenced by QBrushPatternImageCache::init(), and qt_pixmapForBrush().
| QPixmap qt_pixmapForBrush | ( | int | brushStyle, |
| bool | invert | ||
| ) |
Definition at line 99 of file qbrush.cpp.
Referenced by getPatternFill(), and QX11PaintEngine::updateBrush().
|
static |
Definition at line 1933 of file qbrush.cpp.
Referenced by QRadialGradient::QRadialGradient().