Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QX11PaintEnginePrivate Class Reference
Inheritance diagram for QX11PaintEnginePrivate:
Collaboration diagram for QX11PaintEnginePrivate:

Classes

struct  qt_float_point

Public Types

enum  GCMode { PenGC , BrushGC , PenGC , BrushGC }
enum  GCMode { PenGC , BrushGC , PenGC , BrushGC }

Public Member Functions

 QX11PaintEnginePrivate ()
void init ()
void fillPolygon_translated (const QPointF *points, int pointCount, GCMode gcMode, QPaintEngine::PolygonDrawMode mode)
void fillPolygon_dev (const QPointF *points, int pointCount, GCMode gcMode, QPaintEngine::PolygonDrawMode mode)
void fillPath (const QPainterPath &path, GCMode gcmode, bool transform)
void strokePolygon_dev (const QPointF *points, int pointCount, bool close)
void strokePolygon_translated (const QPointF *points, int pointCount, bool close)
void setupAdaptedOrigin (const QPoint &p)
void resetAdaptedOrigin ()
void decidePathFallback ()
void decideCoordAdjust ()
void clipPolygon_dev (const QPolygonF &poly, QPolygonF *clipped_poly)
void systemStateChanged () override
bool isCosmeticPen () const
 QX11PaintEnginePrivate ()
void init ()
void fillPolygon_translated (const QPointF *points, int pointCount, GCMode gcMode, QPaintEngine::PolygonDrawMode mode)
void fillPolygon_dev (const QPointF *points, int pointCount, GCMode gcMode, QPaintEngine::PolygonDrawMode mode)
void fillPath (const QPainterPath &path, GCMode gcmode, bool transform)
void strokePolygon_dev (const QPointF *points, int pointCount, bool close)
void strokePolygon_translated (const QPointF *points, int pointCount, bool close)
void setupAdaptedOrigin (const QPoint &p)
void resetAdaptedOrigin ()
void decidePathFallback ()
void decideCoordAdjust ()
void clipPolygon_dev (const QPolygonF &poly, QPolygonF *clipped_poly)
void systemStateChanged () override
bool isCosmeticPen () const
Public Member Functions inherited from QPaintEnginePrivate
 QPaintEnginePrivate ()
virtual ~QPaintEnginePrivate ()
void updateSystemClip ()
void setSystemTransform (const QTransform &xform)
void setSystemViewport (const QRegion &region)
void setSystemTransformAndViewport (const QTransform &xform, const QRegion &region)
void drawBoxTextItem (const QPointF &p, const QTextItemInt &ti)
virtual QPaintEngineaggregateEngine ()
virtual Qt::HANDLE nativeHandle ()

Public Attributes

Displaydpy
int scrn
int pdev_depth
unsigned long hd
QPixmap brush_pm
unsigned long picture
GC gc
GC gc_brush
QPen cpen
QBrush cbrush
QRegion crgn
QTransform matrix
qreal opacity
uint has_complex_xform: 1
uint has_scaling_xform: 1
uint has_non_scaling_xform: 1
uint has_custom_pen: 1
uint use_path_fallback: 1
uint adjust_coords: 1
uint has_clipping: 1
uint adapted_brush_origin: 1
uint adapted_pen_origin: 1
uint has_pen: 1
uint has_brush: 1
uint has_texture: 1
uint has_alpha_texture: 1
uint has_pattern: 1
uint has_alpha_pen: 1
uint has_alpha_brush: 1
uint use_sysclip: 1
uint render_hints
const QXcbX11Infoxinfo
QPointF bg_origin
QTransform::TransformationType txop
qreal xform_scale
QPolygonClipper< qt_float_point, qt_float_point, float > polygonClipper
int xlibMaxLinePoints
Public Attributes inherited from QPaintEnginePrivate
QPaintDevicepdev
QPaintEngineq_ptr
QRegion baseSystemClip
QRegion systemClip
QRect systemRect
QRegion systemViewport
QTransform systemTransform
QPaintDevicecurrentClipDevice
uint hasSystemTransform: 1
uint hasSystemViewport: 1

Additional Inherited Members

Static Public Member Functions inherited from QPaintEnginePrivate
static QPaintEnginePrivateget (QPaintEngine *paintEngine)

Detailed Description

Definition at line 76 of file qpaintengine_x11.cpp.

Member Enumeration Documentation

◆ GCMode [1/2]

Enumerator
PenGC 
BrushGC 
PenGC 
BrushGC 

Definition at line 97 of file qpaintengine_x11.cpp.

◆ GCMode [2/2]

Enumerator
PenGC 
BrushGC 
PenGC 
BrushGC 

Definition at line 97 of file qpaintengine_x11.cpp.

Constructor & Destructor Documentation

◆ QX11PaintEnginePrivate() [1/2]

QX11PaintEnginePrivate::QX11PaintEnginePrivate ( )
inline

Definition at line 80 of file qpaintengine_x11.cpp.

◆ QX11PaintEnginePrivate() [2/2]

QX11PaintEnginePrivate::QX11PaintEnginePrivate ( )
inline

Definition at line 80 of file qpaintengine_x11.cpp.

Member Function Documentation

◆ clipPolygon_dev() [1/2]

void QX11PaintEnginePrivate::clipPolygon_dev ( const QPolygonF & poly,
QPolygonF * clipped_poly )

Definition at line 548 of file qpaintengine_x11.cpp.

◆ clipPolygon_dev() [2/2]

void QX11PaintEnginePrivate::clipPolygon_dev ( const QPolygonF & poly,
QPolygonF * clipped_poly )

◆ decideCoordAdjust() [1/2]

void QX11PaintEnginePrivate::decideCoordAdjust ( )
inline

Definition at line 119 of file qpaintengine_x11.cpp.

◆ decideCoordAdjust() [2/2]

void QX11PaintEnginePrivate::decideCoordAdjust ( )
inline

Definition at line 119 of file qpaintengine_x11.cpp.

◆ decidePathFallback() [1/2]

void QX11PaintEnginePrivate::decidePathFallback ( )
inline

Definition at line 112 of file qpaintengine_x11.cpp.

◆ decidePathFallback() [2/2]

void QX11PaintEnginePrivate::decidePathFallback ( )
inline

Definition at line 112 of file qpaintengine_x11.cpp.

◆ fillPath() [1/2]

void QX11PaintEnginePrivate::fillPath ( const QPainterPath & path,
QX11PaintEnginePrivate::GCMode gc_mode,
bool transform )

Definition at line 1876 of file qpaintengine_x11.cpp.

◆ fillPath() [2/2]

void QX11PaintEnginePrivate::fillPath ( const QPainterPath & path,
GCMode gcmode,
bool transform )

◆ fillPolygon_dev() [1/2]

void QX11PaintEnginePrivate::fillPolygon_dev ( const QPointF * points,
int pointCount,
QX11PaintEnginePrivate::GCMode gcMode,
QPaintEngine::PolygonDrawMode mode )

Definition at line 1689 of file qpaintengine_x11.cpp.

References dpy, gc, gc_brush, and resetAdaptedOrigin().

Here is the call graph for this function:

◆ fillPolygon_dev() [2/2]

void QX11PaintEnginePrivate::fillPolygon_dev ( const QPointF * points,
int pointCount,
GCMode gcMode,
QPaintEngine::PolygonDrawMode mode )

◆ fillPolygon_translated() [1/2]

void QX11PaintEnginePrivate::fillPolygon_translated ( const QPointF * points,
int pointCount,
QX11PaintEnginePrivate::GCMode gcMode,
QPaintEngine::PolygonDrawMode mode )

Definition at line 1642 of file qpaintengine_x11.cpp.

◆ fillPolygon_translated() [2/2]

void QX11PaintEnginePrivate::fillPolygon_translated ( const QPointF * points,
int pointCount,
GCMode gcMode,
QPaintEngine::PolygonDrawMode mode )

◆ init() [1/2]

void QX11PaintEnginePrivate::init ( )

Definition at line 518 of file qpaintengine_x11.cpp.

References dpy, hd, picture, scrn, and xinfo.

◆ init() [2/2]

void QX11PaintEnginePrivate::init ( )

◆ isCosmeticPen() [1/2]

bool QX11PaintEnginePrivate::isCosmeticPen ( ) const
inline

Definition at line 124 of file qpaintengine_x11.cpp.

◆ isCosmeticPen() [2/2]

bool QX11PaintEnginePrivate::isCosmeticPen ( ) const
inline

Definition at line 124 of file qpaintengine_x11.cpp.

◆ resetAdaptedOrigin() [1/2]

void QX11PaintEnginePrivate::resetAdaptedOrigin ( )

Definition at line 540 of file qpaintengine_x11.cpp.

References dpy, gc, and gc_brush.

Referenced by fillPolygon_dev().

Here is the caller graph for this function:

◆ resetAdaptedOrigin() [2/2]

void QX11PaintEnginePrivate::resetAdaptedOrigin ( )

◆ setupAdaptedOrigin() [1/2]

void QX11PaintEnginePrivate::setupAdaptedOrigin ( const QPoint & p)

Definition at line 532 of file qpaintengine_x11.cpp.

References dpy, gc, and gc_brush.

◆ setupAdaptedOrigin() [2/2]

void QX11PaintEnginePrivate::setupAdaptedOrigin ( const QPoint & p)

◆ strokePolygon_dev() [1/2]

void QX11PaintEnginePrivate::strokePolygon_dev ( const QPointF * points,
int pointCount,
bool close )

Definition at line 1819 of file qpaintengine_x11.cpp.

References dpy, gc, hd, and xlibMaxLinePoints.

◆ strokePolygon_dev() [2/2]

void QX11PaintEnginePrivate::strokePolygon_dev ( const QPointF * points,
int pointCount,
bool close )

◆ strokePolygon_translated() [1/2]

void QX11PaintEnginePrivate::strokePolygon_translated ( const QPointF * points,
int pointCount,
bool close )

Definition at line 1810 of file qpaintengine_x11.cpp.

◆ strokePolygon_translated() [2/2]

void QX11PaintEnginePrivate::strokePolygon_translated ( const QPointF * points,
int pointCount,
bool close )

◆ systemStateChanged() [1/2]

void QX11PaintEnginePrivate::systemStateChanged ( )
overridevirtual

Reimplemented from QPaintEnginePrivate.

Definition at line 559 of file qpaintengine_x11.cpp.

◆ systemStateChanged() [2/2]

void QX11PaintEnginePrivate::systemStateChanged ( )
overridevirtual

Reimplemented from QPaintEnginePrivate.

Member Data Documentation

◆ adapted_brush_origin

uint QX11PaintEnginePrivate::adapted_brush_origin

Definition at line 157 of file qpaintengine_x11.cpp.

◆ adapted_pen_origin

uint QX11PaintEnginePrivate::adapted_pen_origin

Definition at line 158 of file qpaintengine_x11.cpp.

◆ adjust_coords

uint QX11PaintEnginePrivate::adjust_coords

Definition at line 155 of file qpaintengine_x11.cpp.

◆ bg_origin

QPointF QX11PaintEnginePrivate::bg_origin

Definition at line 170 of file qpaintengine_x11.cpp.

◆ brush_pm

QPixmap QX11PaintEnginePrivate::brush_pm

Definition at line 132 of file qpaintengine_x11.cpp.

◆ cbrush

QBrush QX11PaintEnginePrivate::cbrush

Definition at line 145 of file qpaintengine_x11.cpp.

◆ cpen

QPen QX11PaintEnginePrivate::cpen

Definition at line 144 of file qpaintengine_x11.cpp.

◆ crgn

QRegion QX11PaintEnginePrivate::crgn

Definition at line 146 of file qpaintengine_x11.cpp.

◆ dpy

Display * QX11PaintEnginePrivate::dpy

◆ gc

GC QX11PaintEnginePrivate::gc

◆ gc_brush

GC QX11PaintEnginePrivate::gc_brush

Definition at line 142 of file qpaintengine_x11.cpp.

Referenced by fillPolygon_dev(), resetAdaptedOrigin(), and setupAdaptedOrigin().

◆ has_alpha_brush

uint QX11PaintEnginePrivate::has_alpha_brush

Definition at line 165 of file qpaintengine_x11.cpp.

◆ has_alpha_pen

uint QX11PaintEnginePrivate::has_alpha_pen

Definition at line 164 of file qpaintengine_x11.cpp.

◆ has_alpha_texture

uint QX11PaintEnginePrivate::has_alpha_texture

Definition at line 162 of file qpaintengine_x11.cpp.

◆ has_brush

uint QX11PaintEnginePrivate::has_brush

Definition at line 160 of file qpaintengine_x11.cpp.

◆ has_clipping

uint QX11PaintEnginePrivate::has_clipping

Definition at line 156 of file qpaintengine_x11.cpp.

◆ has_complex_xform

uint QX11PaintEnginePrivate::has_complex_xform

Definition at line 150 of file qpaintengine_x11.cpp.

◆ has_custom_pen

uint QX11PaintEnginePrivate::has_custom_pen

Definition at line 153 of file qpaintengine_x11.cpp.

◆ has_non_scaling_xform

uint QX11PaintEnginePrivate::has_non_scaling_xform

Definition at line 152 of file qpaintengine_x11.cpp.

◆ has_pattern

uint QX11PaintEnginePrivate::has_pattern

Definition at line 163 of file qpaintengine_x11.cpp.

◆ has_pen

uint QX11PaintEnginePrivate::has_pen

Definition at line 159 of file qpaintengine_x11.cpp.

◆ has_scaling_xform

uint QX11PaintEnginePrivate::has_scaling_xform

Definition at line 151 of file qpaintengine_x11.cpp.

◆ has_texture

uint QX11PaintEnginePrivate::has_texture

Definition at line 161 of file qpaintengine_x11.cpp.

◆ hd

unsigned long QX11PaintEnginePrivate::hd

Definition at line 131 of file qpaintengine_x11.cpp.

Referenced by init(), and strokePolygon_dev().

◆ matrix

QTransform QX11PaintEnginePrivate::matrix

Definition at line 147 of file qpaintengine_x11.cpp.

◆ opacity

qreal QX11PaintEnginePrivate::opacity

Definition at line 148 of file qpaintengine_x11.cpp.

◆ pdev_depth

int QX11PaintEnginePrivate::pdev_depth

Definition at line 130 of file qpaintengine_x11.cpp.

◆ picture

unsigned long QX11PaintEnginePrivate::picture

Definition at line 139 of file qpaintengine_x11.cpp.

Referenced by init().

◆ polygonClipper

QPolygonClipper< qt_float_point, qt_float_point, float > QX11PaintEnginePrivate::polygonClipper

Definition at line 178 of file qpaintengine_x11.cpp.

◆ render_hints

uint QX11PaintEnginePrivate::render_hints

Definition at line 167 of file qpaintengine_x11.cpp.

◆ scrn

int QX11PaintEnginePrivate::scrn

Definition at line 129 of file qpaintengine_x11.cpp.

Referenced by init().

◆ txop

QTransform::TransformationType QX11PaintEnginePrivate::txop

Definition at line 171 of file qpaintengine_x11.cpp.

◆ use_path_fallback

uint QX11PaintEnginePrivate::use_path_fallback

Definition at line 154 of file qpaintengine_x11.cpp.

◆ use_sysclip

uint QX11PaintEnginePrivate::use_sysclip

Definition at line 166 of file qpaintengine_x11.cpp.

◆ xform_scale

qreal QX11PaintEnginePrivate::xform_scale

Definition at line 172 of file qpaintengine_x11.cpp.

◆ xinfo

const QXcbX11Info * QX11PaintEnginePrivate::xinfo

Definition at line 169 of file qpaintengine_x11.cpp.

Referenced by init().

◆ xlibMaxLinePoints

int QX11PaintEnginePrivate::xlibMaxLinePoints

Definition at line 180 of file qpaintengine_x11.cpp.

Referenced by strokePolygon_dev().


The documentation for this class was generated from the following file: