Qt 4.8
Classes | Public Functions | Public Variables | List of all members
QRasterPaintEngineState Class Reference

#include <qpaintengine_raster_p.h>

Inheritance diagram for QRasterPaintEngineState:
QPainterState QPaintEngineState

Classes

struct  Flags
 

Public Functions

 QRasterPaintEngineState (QRasterPaintEngineState &other)
 
 QRasterPaintEngineState ()
 
 ~QRasterPaintEngineState ()
 
- Public Functions inherited from QPainterState
void init (QPainter *p)
 
 QPainterState ()
 
 QPainterState (const QPainterState *s)
 
virtual ~QPainterState ()
 
- Public Functions inherited from QPaintEngineState
QBrush backgroundBrush () const
 Returns the background brush in the current paint engine state. More...
 
Qt::BGMode backgroundMode () const
 Returns the background mode in the current paint engine state. More...
 
QBrush brush () const
 Returns the brush in the current paint engine state. More...
 
bool brushNeedsResolving () const
 Returns whether the coordinate of the fill have been specified as bounded by the current rendering operation and have to be resolved (about the currently rendered primitive). More...
 
QPointF brushOrigin () const
 Returns the brush origin in the current paint engine state. More...
 
Qt::ClipOperation clipOperation () const
 Returns the clip operation in the current paint engine state. More...
 
QPainterPath clipPath () const
 Returns the clip path in the current paint engine state. More...
 
QRegion clipRegion () const
 Returns the clip region in the current paint engine state. More...
 
QPainter::CompositionMode compositionMode () const
 Returns the composition mode in the current paint engine state. More...
 
QFont font () const
 Returns the font in the current paint engine state. More...
 
bool isClipEnabled () const
 Returns whether clipping is enabled or not in the current paint engine state. More...
 
QMatrix matrix () const
 Returns the matrix in the current paint engine state. More...
 
qreal opacity () const
 Returns the opacity in the current paint engine state. More...
 
QPainterpainter () const
 Returns a pointer to the painter currently updating the paint engine. More...
 
QPen pen () const
 Returns the pen in the current paint engine state. More...
 
bool penNeedsResolving () const
 Returns whether the coordinate of the stroke have been specified as bounded by the current rendering operation and have to be resolved (about the currently rendered primitive). More...
 
QPainter::RenderHints renderHints () const
 Returns the render hints in the current paint engine state. More...
 
QPaintEngine::DirtyFlags state () const
 Returns a combination of flags identifying the set of properties that need to be updated when updating the paint engine's state (i. More...
 
QTransform transform () const
 Returns the matrix in the current paint engine state. More...
 

Public Variables

union {
   uint   flag_bits
 
   Flags   flags
 
}; 
 
QSpanData brushData
 
QClipDataclip
 
uint dirty
 
uint fillFlags
 
int intOpacity
 
QBrush lastBrush
 
QPen lastPen
 
QSpanData penData
 
uint pixmapFlags
 
uint strokeFlags
 
QStrokerOpsstroker
 
qreal txscale
 
- Public Variables inherited from QPainterState
QBrush bgBrush
 
Qt::BGMode bgMode
 
QBrush brush
 
QPointF brushOrigin
 
uint changeFlags
 
uint clipEnabled:1
 
QList< QPainterClipInfoclipInfo
 
Qt::ClipOperation clipOperation
 
QPainterPath clipPath
 
QRegion clipRegion
 
QPainter::CompositionMode composition_mode
 
QFont deviceFont
 
uint emulationSpecifier
 
QFont font
 
Qt::LayoutDirection layoutDirection
 
QTransform matrix
 
qreal opacity
 
QPainterpainter
 
QPen pen
 
QTransform redirectionMatrix
 
QPainter::RenderHints renderHints
 
int vh
 
int vw
 
int vx
 
uint VxF:1
 
int vy
 
int wh
 
QTransform worldMatrix
 
int ww
 
int wx
 
uint WxF:1
 
int wy
 

Additional Inherited Members

- Protected Variables inherited from QPaintEngineState
QPaintEngine::DirtyFlags dirtyFlags
 

Detailed Description

Definition at line 77 of file qpaintengine_raster_p.h.

Constructors and Destructors

◆ QRasterPaintEngineState() [1/2]

QRasterPaintEngineState::QRasterPaintEngineState ( QRasterPaintEngineState other)

Definition at line 664 of file qpaintengine_raster.cpp.

665  : QPainterState(s)
666  , lastPen(s.lastPen)
667  , penData(s.penData)
668  , stroker(s.stroker)
669  , strokeFlags(s.strokeFlags)
670  , lastBrush(s.lastBrush)
671  , brushData(s.brushData)
672  , fillFlags(s.fillFlags)
673  , pixmapFlags(s.pixmapFlags)
674  , intOpacity(s.intOpacity)
675  , txscale(s.txscale)
676  , clip(s.clip)
677  , dirty(s.dirty)
678  , flag_bits(s.flag_bits)
679 {
680  brushData.tempImage = 0;
681  penData.tempImage = 0;
682  flags.has_clip_ownership = false;
683 }
QImage * tempImage

◆ QRasterPaintEngineState() [2/2]

QRasterPaintEngineState::QRasterPaintEngineState ( )

Definition at line 638 of file qpaintengine_raster.cpp.

Referenced by QRasterPaintEngine::createState().

639 {
640  stroker = 0;
641 
642  fillFlags = 0;
643  strokeFlags = 0;
644  pixmapFlags = 0;
645 
646  intOpacity = 256;
647 
648  txscale = 1.;
649 
650  flags.fast_pen = true;
651  flags.antialiased = false;
652  flags.bilinear = false;
653  flags.fast_text = true;
654  flags.int_xform = true;
655  flags.tx_noshear = true;
656  flags.fast_images = true;
657 
658  clip = 0;
659  flags.has_clip_ownership = false;
660 
661  dirty = 0;
662 }

◆ ~QRasterPaintEngineState()

QRasterPaintEngineState::~QRasterPaintEngineState ( )

Properties

◆ @245

union { ... }

◆ brushData

QSpanData QRasterPaintEngineState::brushData

◆ clip

QClipData* QRasterPaintEngineState::clip

◆ dirty

uint QRasterPaintEngineState::dirty

◆ fillFlags

uint QRasterPaintEngineState::fillFlags

◆ flag_bits

uint QRasterPaintEngineState::flag_bits

Definition at line 122 of file qpaintengine_raster_p.h.

◆ flags

Flags QRasterPaintEngineState::flags

◆ intOpacity

int QRasterPaintEngineState::intOpacity

◆ lastBrush

QBrush QRasterPaintEngineState::lastBrush

◆ lastPen

QPen QRasterPaintEngineState::lastPen

◆ penData

QSpanData QRasterPaintEngineState::penData

◆ pixmapFlags

uint QRasterPaintEngineState::pixmapFlags

◆ strokeFlags

uint QRasterPaintEngineState::strokeFlags

◆ stroker

QStrokerOps* QRasterPaintEngineState::stroker

◆ txscale

qreal QRasterPaintEngineState::txscale

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