QtBase  v6.3.1
Macros | Functions | Variables
qpainter.cpp File Reference
#include <memory>
#include <qdebug.h>
#include <qmath.h>
#include <qmutex.h>
#include "qbitmap.h"
#include "qimage.h"
#include "qpaintdevice.h"
#include "qpaintengine.h"
#include "qpainter.h"
#include "qpainter_p.h"
#include "qpainterpath.h"
#include "qpicture.h"
#include "qpixmapcache.h"
#include "qpolygon.h"
#include "qtextlayout.h"
#include "qthread.h"
#include "qvarlengtharray.h"
#include "qstatictext.h"
#include "qglyphrun.h"
#include <qpa/qplatformtheme.h>
#include <qpa/qplatformintegration.h>
#include <private/qfontengine_p.h>
#include <private/qpaintengine_p.h>
#include <private/qemulationpaintengine_p.h>
#include <private/qpainterpath_p.h>
#include <private/qtextengine_p.h>
#include <private/qpaintengine_raster_p.h>
#include <private/qmath_p.h>
#include <private/qstatictext_p.h>
#include <private/qglyphrun_p.h>
#include <private/qhexstring_p.h>
#include <private/qguiapplication_p.h>
#include <private/qrawfont_p.h>
#include "moc_qpainter.cpp"
Include dependency graph for qpainter.cpp:

Go to the source code of this file.

Macros

#define QGradient_StretchToDevice   0x10000000
 
#define QPaintEngine_OpaqueBackground   0x40000000
 

Functions

QPixmap qt_pixmapForBrush (int style, bool invert)
 
void qt_format_text (const QFont &font, const QRectF &_r, int tf, const QTextOption *option, const QString &str, QRectF *brect, int tabstops, int *tabarray, int tabarraylen, QPainter *painter)
 
bool qHasPixmapTexture (const QBrush &)
 
bool qt_isExtendedRadialGradient (const QBrush &brush)
 
QPainterPath qt_regionToPath (const QRegion &region)
 
void qt_format_text (const QFont &fnt, const QRectF &_r, int tf, const QString &str, QRectF *brect, int tabstops, int *ta, int tabarraylen, QPainter *painter)
 
void qt_draw_helper (QPainterPrivate *p, const QPainterPath &path, QPainterPrivate::DrawOperation operation)
 

Variables

 QT_BEGIN_NAMESPACE
 

Macro Definition Documentation

◆ QGradient_StretchToDevice

#define QGradient_StretchToDevice   0x10000000

Definition at line 84 of file qpainter.cpp.

◆ QPaintEngine_OpaqueBackground

#define QPaintEngine_OpaqueBackground   0x40000000

Definition at line 85 of file qpainter.cpp.

Function Documentation

◆ qHasPixmapTexture()

bool qHasPixmapTexture ( const QBrush brush)

Definition at line 120 of file qbrush.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ qt_draw_helper()

void qt_draw_helper ( QPainterPrivate p,
const QPainterPath path,
QPainterPrivate::DrawOperation  operation 
)

Definition at line 8165 of file qpainter.cpp.

◆ qt_format_text() [1/2]

void qt_format_text ( const QFont fnt,
const QRectF _r,
int  tf,
const QString str,
QRectF brect,
int  tabstops,
int *  ta,
int  tabarraylen,
QPainter painter 
)

Definition at line 7090 of file qpainter.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ qt_format_text() [2/2]

void qt_format_text ( const QFont font,
const QRectF _r,
int  tf,
const QTextOption option,
const QString str,
QRectF brect,
int  tabstops,
int *  tabarray,
int  tabarraylen,
QPainter painter 
)

Definition at line 7100 of file qpainter.cpp.

Here is the caller graph for this function:

◆ qt_isExtendedRadialGradient()

bool qt_isExtendedRadialGradient ( const QBrush brush)

Definition at line 834 of file qbrush.cpp.

Here is the caller graph for this function:

◆ qt_pixmapForBrush()

QPixmap qt_pixmapForBrush ( int  style,
bool  invert 
)

Definition at line 113 of file qbrush.cpp.

◆ qt_regionToPath()

QPainterPath qt_regionToPath ( const QRegion region)

Definition at line 1043 of file qregion.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ QT_BEGIN_NAMESPACE

QT_BEGIN_NAMESPACE
related

Definition at line 82 of file qpainter.cpp.