Public Types | |
enum | EContext |
Public Member Functions | |
QtGContext () | |
QtGContext (const GCValues_t &gval) | |
void | Copy (const QtGContext &dst, Mask_t rootMask=0xff) |
const QtGContext & | Copy (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 QtGContext & | operator= (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 |
Definition at line 99 of file GQtGUI.cxx.
enum QtGContext::EContext |
Definition at line 120 of file GQtGUI.cxx.
QtGContext::QtGContext | ( | const QtGContext & | ) | [private] |
QtGContext::QtGContext | ( | ) | [inline] |
Definition at line 125 of file GQtGUI.cxx.
QtGContext::QtGContext | ( | const GCValues_t & | gval | ) | [inline] |
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] |
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] |
void QtGContext::SetForeground | ( | ULong_t | foreground | ) |
GContext_t QtGContext::gc | ( | ) | const [inline] |
QtGContext::operator GContext_t | ( | ) | const [inline] |
const QtGContext& QtGContext::operator= | ( | const GCValues_t & | gval | ) | [inline] |
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().
friend class TGQt [friend] |
Definition at line 100 of file GQtGUI.cxx.
friend class TQtPainter [friend] |
Definition at line 101 of file GQtGUI.cxx.
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] |
QPixmap* QtGContext::fStipple [protected] |
QPoint QtGContext::fTileRect [protected] |
QPoint QtGContext::fClipOrigin [protected] |
QBitmap* QtGContext::fClipMask [protected] |
QRegion QtGContext::fClipRegion [protected] |
Definition at line 117 of file GQtGUI.cxx.
Referenced by TGQt::SetClipRectangles(), and TQtPainter::TQtPainter().
QFont* QtGContext::fFont [protected] |