Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
qpaintengine.cpp File Reference
#include "qpaintengine.h"
#include "qpaintengine_p.h"
#include "qpainter_p.h"
#include "qpolygon.h"
#include "qbitmap.h"
#include <qdebug.h>
#include <qmath.h>
#include <qguiapplication.h>
#include <qvarlengtharray.h>
#include <qpa/qplatformintegration.h>
#include <qpa/qplatformpixmap.h>
#include <private/qfontengine_p.h>
#include <private/qguiapplication_p.h>
#include <private/qpaintengineex_p.h>
#include <private/qtextengine_p.h>
#include <memory>
+ Include dependency graph for qpaintengine.cpp:

Go to the source code of this file.

Classes

struct  QT_Point
 
struct  QT_PointF
 

Functions

 Q_DECLARE_TYPEINFO (QT_Point, Q_PRIMITIVE_TYPE)
 
 Q_DECLARE_TYPEINFO (QT_PointF, Q_PRIMITIVE_TYPE)
 
void qt_fill_tile (QPixmap *tile, const QPixmap &pixmap)
 
Q_GUI_EXPORT void qt_draw_tile (QPaintEngine *gc, qreal x, qreal y, qreal w, qreal h, const QPixmap &pixmap, qreal xOffset, qreal yOffset)
 

Variables

static QPaintEngineqt_polygon_recursion = nullptr
 

Function Documentation

◆ Q_DECLARE_TYPEINFO() [1/2]

Q_DECLARE_TYPEINFO ( QT_Point  ,
Q_PRIMITIVE_TYPE   
)

◆ Q_DECLARE_TYPEINFO() [2/2]

Q_DECLARE_TYPEINFO ( QT_PointF  ,
Q_PRIMITIVE_TYPE   
)

◆ qt_draw_tile()

Q_GUI_EXPORT void qt_draw_tile ( QPaintEngine gc,
qreal  x,
qreal  y,
qreal  w,
qreal  h,
const QPixmap pixmap,
qreal  xOffset,
qreal  yOffset 
)

Definition at line 517 of file qpaintengine.cpp.

References QPaintEngine::drawPixmap(), and pixmap.

Referenced by QPaintEngine::drawTiledPixmap(), and QX11PaintEngine::drawTiledPixmap().

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

◆ qt_fill_tile()

void qt_fill_tile ( QPixmap tile,
const QPixmap pixmap 
)

Definition at line 501 of file qpaintengine.cpp.

References pixmap, and QPixmap::width().

Referenced by QPaintEngine::drawTiledPixmap().

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

Variable Documentation

◆ qt_polygon_recursion

QPaintEngine* qt_polygon_recursion = nullptr
static

Definition at line 276 of file qpaintengine.cpp.

Referenced by QPaintEngine::drawPolygon(), and QPaintEngine::drawPolygon().