QtGContext Class Reference

List of all members.

Public Types

enum  EContext

Public Member Functions

 QtGContext ()
 QtGContext (const GCValues_t &gval)
void Copy (const QtGContext &dst, Mask_t rootMask=0xff)
const QtGContextCopy (const GCValues_t &gval)
void DumpMask () const
bool HasValid (EContext bit) const
Mask_t Mask () const
void SetBackground (ULong_t background)
void SetMask (Mask_t rootMask)
void SetForeground (ULong_t foreground)
GContext_t gc () const
 operator GContext_t () const
const QtGContextoperator= (const GCValues_t &gval)
QColor QtColor (ULong_t pixel)

Protected Attributes

Mask_t fMask
Qt::RasterOp fROp
QPen fPen
QBrush fBrush
QPixmap * fTilePixmap
QPixmap * fStipple
QPoint fTileRect
QPoint fClipOrigin
QBitmap * fClipMask
QRegion fClipRegion
QFont * fFont

Private Member Functions

 QtGContext (const QtGContext &)

Friends

class TGQt
class TQtPainter

Detailed Description

Definition at line 99 of file GQtGUI.cxx.


Member Enumeration Documentation

enum QtGContext::EContext

Definition at line 120 of file GQtGUI.cxx.


Constructor & Destructor Documentation

QtGContext::QtGContext ( const QtGContext  )  [private]

QtGContext::QtGContext (  )  [inline]

Definition at line 125 of file GQtGUI.cxx.

QtGContext::QtGContext ( const GCValues_t gval  )  [inline]

Definition at line 126 of file GQtGUI.cxx.

References Copy(), and gval.


Member Function Documentation

void QtGContext::Copy ( const QtGContext dst,
Mask_t  rootMask = 0xff 
) [inline]

Definition at line 275 of file GQtGUI.cxx.

References CopyQTContext.

Referenced by TGQt::CopyGC(), operator=(), and QtGContext().

const QtGContext & QtGContext::Copy ( const GCValues_t gval  ) 

Definition at line 296 of file GQtGUI.cxx.

References GCValues_t::fBackground, fBrush, GCValues_t::fCapStyle, GCValues_t::fClipMask, fClipMask, fClipOrigin, GCValues_t::fClipXOrigin, GCValues_t::fClipYOrigin, GCValues_t::fFillStyle, GCValues_t::fFont, fFont, GCValues_t::fForeground, GCValues_t::fFunction, GCValues_t::fGraphicsExposures, GCValues_t::fJoinStyle, GCValues_t::fLineStyle, GCValues_t::fLineWidth, fMask, GCValues_t::fMask, fPen, fprintf(), fROp, fStipple, GCValues_t::fStipple, GCValues_t::fSubwindowMode, GCValues_t::fTile, fTilePixmap, fTileRect, GCValues_t::fTsXOrigin, GCValues_t::fTsYOrigin, GDK_CLIP_BY_CHILDREN, GDK_GC_EXPOSURES, GDK_INCLUDE_INFERIORS, gval, kBrush, kCapButt, kCapNotLast, kCapProjecting, kCapRound, kClipMask, kClipOrigin, kFillOpaqueStippled, kFillSolid, kFillStippled, kFillTiled, kFont, kGCBackground, kGCCapStyle, kGCClipMask, kGCClipXOrigin, kGCClipYOrigin, kGCFillStyle, kGCFont, kGCForeground, kGCFunction, kGCGraphicsExposures, kGCJoinStyle, kGCLineStyle, kGCLineWidth, kGCStipple, kGCSubwindowMode, kGCTile, kGCTileStipXOrigin, kGCTileStipYOrigin, kGXand, kGXandInverted, kGXandReverse, kGXclear, kGXcopy, kGXcopyInverted, kGXequiv, kGXinvert, kGXnand, kGXnoop, kGXnor, kGXor, kGXorInverted, kGXorReverse, kGXset, kGXxor, kIncludeInferiors, kJoinBevel, kJoinMiter, kJoinRound, kLineDoubleDash, kLineOnOffDash, kLineSolid, kPen, kROp, kStipple, kTilePixmap, kTileRect, SetBackground(), SETBIT, and SetForeground().

void QtGContext::DumpMask (  )  const [inline]

Definition at line 260 of file GQtGUI.cxx.

References DumpGCMask, DumpROp(), fMask, fprintf(), and fROp.

bool QtGContext::HasValid ( EContext  bit  )  const [inline]

Definition at line 130 of file GQtGUI.cxx.

References fMask, and TESTBIT.

Referenced by TQtPainter::TQtPainter().

Mask_t QtGContext::Mask (  )  const [inline]

Definition at line 131 of file GQtGUI.cxx.

References fMask.

void QtGContext::SetBackground ( ULong_t  background  ) 

Definition at line 504 of file GQtGUI.cxx.

References fMask, kBrush, palette, QtColor(), and SETBIT.

Referenced by Copy(), and TGQt::SetBackground().

void QtGContext::SetMask ( Mask_t  rootMask  )  [inline]

Definition at line 133 of file GQtGUI.cxx.

References fMask.

void QtGContext::SetForeground ( ULong_t  foreground  ) 

Definition at line 519 of file GQtGUI.cxx.

References fBrush, fMask, fPen, kBrush, kPen, palette, QtColor(), and SETBIT.

Referenced by Copy(), and TGQt::SetForeground().

GContext_t QtGContext::gc (  )  const [inline]

Definition at line 135 of file GQtGUI.cxx.

Referenced by operator GContext_t().

QtGContext::operator GContext_t (  )  const [inline]

Definition at line 136 of file GQtGUI.cxx.

References gc().

const QtGContext& QtGContext::operator= ( const GCValues_t gval  )  [inline]

Definition at line 137 of file GQtGUI.cxx.

References Copy(), and gval.

QColor QtGContext::QtColor ( ULong_t  pixel  )  [inline]

Definition at line 138 of file GQtGUI.cxx.

References gQt, and TGQt::QtColor().

Referenced by SetBackground(), and SetForeground().


Friends And Related Function Documentation

friend class TGQt [friend]

Definition at line 100 of file GQtGUI.cxx.

friend class TQtPainter [friend]

Definition at line 101 of file GQtGUI.cxx.


Member Data Documentation

Mask_t QtGContext::fMask [protected]

Definition at line 104 of file GQtGUI.cxx.

Referenced by Copy(), DumpMask(), HasValid(), Mask(), SetBackground(), SetForeground(), and SetMask().

Qt::RasterOp QtGContext::fROp [protected]

Definition at line 106 of file GQtGUI.cxx.

Referenced by Copy(), DumpMask(), and TQtPainter::TQtPainter().

QPen QtGContext::fPen [protected]

Definition at line 110 of file GQtGUI.cxx.

Referenced by Copy(), SetForeground(), and TQtPainter::TQtPainter().

QBrush QtGContext::fBrush [protected]

Definition at line 111 of file GQtGUI.cxx.

Referenced by Copy(), TGQt::FillRectangle(), SetForeground(), and TQtPainter::TQtPainter().

QPixmap* QtGContext::fTilePixmap [protected]

Definition at line 112 of file GQtGUI.cxx.

Referenced by Copy().

QPixmap* QtGContext::fStipple [protected]

Definition at line 113 of file GQtGUI.cxx.

Referenced by Copy().

QPoint QtGContext::fTileRect [protected]

Definition at line 114 of file GQtGUI.cxx.

Referenced by Copy().

QPoint QtGContext::fClipOrigin [protected]

Definition at line 115 of file GQtGUI.cxx.

Referenced by Copy().

QBitmap* QtGContext::fClipMask [protected]

Definition at line 116 of file GQtGUI.cxx.

Referenced by Copy(), and TGQt::CopyArea().

QRegion QtGContext::fClipRegion [protected]

Definition at line 117 of file GQtGUI.cxx.

Referenced by TGQt::SetClipRectangles(), and TQtPainter::TQtPainter().

QFont* QtGContext::fFont [protected]

Definition at line 118 of file GQtGUI.cxx.

Referenced by Copy(), and TGQt::GetGCValues().


The documentation for this class was generated from the following file:
Generated on Tue Jul 5 16:31:35 2011 for ROOT_528-00b_version by  doxygen 1.5.1