TGGC Class Reference

#include <TGGC.h>

Inheritance diagram for TGGC:

TObject TRefCnt TObject TRefCnt List of all members.

Public Member Functions

 TGGC (GCValues_t *values=0)
 TGGC (const TGGC &g)
virtual ~TGGC ()
TGGCoperator= (const TGGC &rhs)
GContext_t GetGC () const
GContext_t operator() () const
void SetAttributes (GCValues_t *values)
void SetFunction (EGraphicsFunction v)
void SetPlaneMask (ULong_t v)
void SetForeground (Pixel_t v)
void SetBackground (Pixel_t v)
void SetLineWidth (Int_t v)
void SetLineStyle (Int_t v)
void SetCapStyle (Int_t v)
void SetJoinStyle (Int_t v)
void SetFillStyle (Int_t v)
void SetFillRule (Int_t v)
void SetTile (Pixmap_t v)
void SetStipple (Pixmap_t v)
void SetTileStipXOrigin (Int_t v)
void SetTileStipYOrigin (Int_t v)
void SetFont (FontH_t v)
void SetSubwindowMode (Int_t v)
void SetGraphicsExposures (Bool_t v)
void SetClipXOrigin (Int_t v)
void SetClipYOrigin (Int_t v)
void SetClipMask (Pixmap_t v)
void SetDashOffset (Int_t v)
void SetDashList (const char v[], Int_t len)
void SetArcMode (Int_t v)
const GCValues_tGetAttributes () const
Mask_t GetMask () const
EGraphicsFunction GetFunction () const
ULong_t GetPlaneMask () const
Pixel_t GetForeground () const
Pixel_t GetBackground () const
Int_t GetLineWidth () const
Int_t GetLineStyle () const
Pixmap_t GetTile () const
Pixmap_t GetStipple () const
Int_t GetTileStipXOrigin () const
Int_t GetTileStipYOrigin () const
Int_t GetSubwindowMode () const
FontH_t GetFont () const
Bool_t GetGraphicsExposures () const
Int_t GetClipXOrigin () const
Int_t GetClipYOrigin () const
Pixmap_t GetClipMask () const
Int_t GetCapStyle () const
Int_t GetJoinStyle () const
Int_t GetFillStyle () const
Int_t GetFillRule () const
Int_t GetDashOffset () const
Int_t GetDashLen () const
const char * GetDashes () const
Int_t GetArcMode () const
void Print (Option_t *option="") const
void SavePrimitive (ostream &out, Option_t *option="")
 TGGC (GCValues_t *values=0)
 TGGC (const TGGC &g)
virtual ~TGGC ()
TGGCoperator= (const TGGC &rhs)
GContext_t GetGC () const
GContext_t operator() () const
void SetAttributes (GCValues_t *values)
void SetFunction (EGraphicsFunction v)
void SetPlaneMask (ULong_t v)
void SetForeground (Pixel_t v)
void SetBackground (Pixel_t v)
void SetLineWidth (Int_t v)
void SetLineStyle (Int_t v)
void SetCapStyle (Int_t v)
void SetJoinStyle (Int_t v)
void SetFillStyle (Int_t v)
void SetFillRule (Int_t v)
void SetTile (Pixmap_t v)
void SetStipple (Pixmap_t v)
void SetTileStipXOrigin (Int_t v)
void SetTileStipYOrigin (Int_t v)
void SetFont (FontH_t v)
void SetSubwindowMode (Int_t v)
void SetGraphicsExposures (Bool_t v)
void SetClipXOrigin (Int_t v)
void SetClipYOrigin (Int_t v)
void SetClipMask (Pixmap_t v)
void SetDashOffset (Int_t v)
void SetDashList (const char v[], Int_t len)
void SetArcMode (Int_t v)
const GCValues_tGetAttributes () const
Mask_t GetMask () const
EGraphicsFunction GetFunction () const
ULong_t GetPlaneMask () const
Pixel_t GetForeground () const
Pixel_t GetBackground () const
Int_t GetLineWidth () const
Int_t GetLineStyle () const
Pixmap_t GetTile () const
Pixmap_t GetStipple () const
Int_t GetTileStipXOrigin () const
Int_t GetTileStipYOrigin () const
Int_t GetSubwindowMode () const
FontH_t GetFont () const
Bool_t GetGraphicsExposures () const
Int_t GetClipXOrigin () const
Int_t GetClipYOrigin () const
Pixmap_t GetClipMask () const
Int_t GetCapStyle () const
Int_t GetJoinStyle () const
Int_t GetFillStyle () const
Int_t GetFillRule () const
Int_t GetDashOffset () const
Int_t GetDashLen () const
const char * GetDashes () const
Int_t GetArcMode () const
void Print (Option_t *option="") const
void SavePrimitive (ostream &out, Option_t *option="")

Protected Member Functions

 TGGC (GCValues_t *values, Bool_t calledByGCPool)
void UpdateValues (GCValues_t *v)
TString GetMaskString () const
 TGGC (GCValues_t *values, Bool_t calledByGCPool)
void UpdateValues (GCValues_t *v)
TString GetMaskString () const

Protected Attributes

GCValues_t fValues
GContext_t fContext

Friends

class TGGCPool

Detailed Description

Definition at line 35 of file TGGC.h.


Constructor & Destructor Documentation

TGGC::TGGC ( GCValues_t values,
Bool_t  calledByGCPool 
) [protected]

TGGC::TGGC ( GCValues_t values = 0  ) 

Definition at line 58 of file TGGC.cxx.

References TObject::Error(), fContext, fValues, gClient, TGClient::GetGC(), kTRUE, and TRefCnt::SetRefCount().

TGGC::TGGC ( const TGGC g  ) 

Definition at line 80 of file TGGC.cxx.

References THashTable::Add(), fContext, GCValues_t::fDashes, GCValues_t::fDashLen, GCValues_t::fDashOffset, TGGCPool::fList, GCValues_t::fMask, fValues, g, gClient, TGClient::GetGCPool(), gVirtualX, kGCDashList, and TRefCnt::SetRefCount().

TGGC::~TGGC (  )  [virtual]

Definition at line 99 of file TGGC.cxx.

References fContext, TGGCPool::ForceFreeGC(), gClient, TGClient::GetGCPool(), and gVirtualX.

TGGC::TGGC ( GCValues_t values,
Bool_t  calledByGCPool 
) [protected]

TGGC::TGGC ( GCValues_t values = 0  ) 

TGGC::TGGC ( const TGGC g  ) 

virtual TGGC::~TGGC (  )  [virtual]


Member Function Documentation

void TGGC::UpdateValues ( GCValues_t v  )  [protected]

Definition at line 142 of file TGGC.cxx.

References bit, GCValues_t::fArcMode, GCValues_t::fBackground, GCValues_t::fCapStyle, GCValues_t::fClipMask, GCValues_t::fClipXOrigin, GCValues_t::fClipYOrigin, GCValues_t::fDashes, GCValues_t::fDashLen, GCValues_t::fDashOffset, GCValues_t::fFillRule, GCValues_t::fFillStyle, GCValues_t::fFont, GCValues_t::fForeground, GCValues_t::fFunction, GCValues_t::fGraphicsExposures, GCValues_t::fJoinStyle, GCValues_t::fLineStyle, GCValues_t::fLineWidth, GCValues_t::fMask, GCValues_t::fPlaneMask, GCValues_t::fStipple, GCValues_t::fSubwindowMode, GCValues_t::fTile, GCValues_t::fTsXOrigin, GCValues_t::fTsYOrigin, fValues, if(), kGCArcMode, kGCBackground, kGCCapStyle, kGCClipMask, kGCClipXOrigin, kGCClipYOrigin, kGCDashList, kGCDashOffset, kGCFillRule, kGCFillStyle, kGCFont, kGCForeground, kGCFunction, kGCGraphicsExposures, kGCJoinStyle, kGCLineStyle, kGCLineWidth, kGCPlaneMask, kGCStipple, kGCSubwindowMode, kGCTile, kGCTileStipXOrigin, kGCTileStipYOrigin, TMath::Min(), and TObject::Warning().

Referenced by SetAttributes().

TString TGGC::GetMaskString (  )  const [protected]

Definition at line 519 of file TGGC.cxx.

References GetMask(), kGCArcMode, kGCBackground, kGCCapStyle, kGCClipMask, kGCClipXOrigin, kGCClipYOrigin, kGCDashList, kGCDashOffset, kGCFillRule, kGCFillStyle, kGCFont, kGCForeground, kGCFunction, kGCGraphicsExposures, kGCJoinStyle, kGCLineStyle, kGCLineWidth, kGCPlaneMask, kGCStipple, kGCSubwindowMode, kGCTile, kGCTileStipXOrigin, kGCTileStipYOrigin, and mask.

Referenced by SavePrimitive().

TGGC & TGGC::operator= ( const TGGC rhs  ) 

Definition at line 111 of file TGGC.cxx.

References THashTable::Add(), fContext, GCValues_t::fDashes, GCValues_t::fDashLen, GCValues_t::fDashOffset, TGGCPool::FindGC(), TGGCPool::fList, GCValues_t::fMask, fValues, gClient, TGClient::GetGCPool(), gVirtualX, kGCDashList, and TObject::operator=().

GContext_t TGGC::GetGC (  )  const [inline]

Definition at line 54 of file TGGC.h.

References fContext.

Referenced by TGHtml::AddStyle(), TGCheckButton::DoRedraw(), TGedPatternSelect::DoRedraw(), TGLabel::DoRedraw(), TGedMarkerSelect::DoRedraw(), TGTextButton::DoRedraw(), TGRadioButton::DoRedraw(), TGSplitButton::DoRedraw(), TGMdiWinResizer::DrawBox(), TGuiBldHintsButton::DrawCenterX(), TGuiBldHintsButton::DrawCenterY(), TGLineLBEntry::DrawCopy(), TGuiBldPopupMenu::DrawEntry(), TGuiBldHintsButton::DrawExpandX(), TGuiBldHintsButton::DrawExpandY(), TGuiBldDragManagerGrid::InitPixmap(), LabelsWindow::LabelsWindow(), TGHtml::Redraw(), TGTextEntry::SavePrimitive(), TGTableCell::SetFont(), TGTextButton::SetFont(), TGSplitButton::SetFont(), TGProgressBar::SetForegroundColor(), TGLabel::SetTextColor(), TGTextButton::SetTextColor(), TGGroupFrame::SetTextColor(), TGGroupFrame::SetTextFont(), TGLabel::SetTextFont(), TGFontTypeComboBox::TGFontTypeComboBox(), and TGGrabRect::TGGrabRect().

GContext_t TGGC::operator() (  )  const

Definition at line 134 of file TGGC.cxx.

References fContext.

void TGGC::SetAttributes ( GCValues_t values  ) 

Definition at line 231 of file TGGC.cxx.

References THashTable::Add(), fContext, GCValues_t::fDashes, GCValues_t::fDashLen, GCValues_t::fDashOffset, TGGCPool::FindGC(), TGGCPool::fList, fValues, gClient, TGClient::GetGCPool(), gVirtualX, kGCDashList, and UpdateValues().

Referenced by SetArcMode(), SetCapStyle(), SetClipMask(), SetClipXOrigin(), SetClipYOrigin(), SetDashList(), SetDashOffset(), SetFillRule(), SetFillStyle(), SetFont(), SetFunction(), SetGraphicsExposures(), SetJoinStyle(), SetLineStyle(), SetLineWidth(), SetPlaneMask(), SetStipple(), SetSubwindowMode(), SetTile(), SetTileStipXOrigin(), SetTileStipYOrigin(), TGSelectedPicture::TGSelectedPicture(), and TGGCPool::UpdateGC().

void TGGC::SetFunction ( EGraphicsFunction  v  ) 

Definition at line 252 of file TGGC.cxx.

References kGCFunction, and SetAttributes().

Referenced by TGTextEdit::GetCursor0GC(), and TGTextEdit::GetCursor1GC().

void TGGC::SetPlaneMask ( ULong_t  v  ) 

Definition at line 263 of file TGGC.cxx.

References kGCPlaneMask, and SetAttributes().

void TGGC::SetForeground ( Pixel_t  v  ) 

Referenced by TGView::ChangeBackground(), TGCheckButton::DoRedraw(), TGedPatternSelect::DoRedraw(), TGLabel::DoRedraw(), TGTextButton::DoRedraw(), TGRadioButton::DoRedraw(), TGSplitButton::DoRedraw(), TGColorPalette::DoRedraw(), TRootGuiBuilder::GetBgndGC(), TRootGuiBuilder::GetPopupBgndGC(), TRootGuiBuilder::GetPopupHlghtGC(), TGSelectedPicture::GetSelectedGC(), TGuiBldDragManagerGrid::InitBgnd(), TGTextView::SetBackground(), TGView::SetBackgroundColor(), TGProgressBar::SetBarColor(), TGTextView::SetForegroundColor(), TGProgressBar::SetForegroundColor(), TGTextView::SetSelectBack(), TGTextView::SetSelectFore(), TGLabel::SetTextColor(), TGTextButton::SetTextColor(), TGTextEntry::SetTextColor(), TGGroupFrame::SetTextColor(), TestMsgBox::TestMsgBox(), and TGGrabRect::TGGrabRect().

void TGGC::SetBackground ( Pixel_t  v  ) 

Referenced by TGView::ChangeBackground(), TRootGuiBuilder::GetBgndGC(), TRootGuiBuilder::GetPopupBgndGC(), TRootGuiBuilder::GetPopupHlghtGC(), TGSelectedPicture::GetSelectedGC(), TGTextView::SetBackground(), TGView::SetBackgroundColor(), TGTextView::SetForegroundColor(), TGTextView::SetSelectBack(), TGTextView::SetSelectFore(), and TGGrabRect::TGGrabRect().

void TGGC::SetLineWidth ( Int_t  v  ) 

Definition at line 296 of file TGGC.cxx.

References kGCLineWidth, and SetAttributes().

Referenced by TGLineLBEntry::SetLineWidth().

void TGGC::SetLineStyle ( Int_t  v  ) 

Definition at line 307 of file TGGC.cxx.

References kGCLineStyle, and SetAttributes().

Referenced by TGLineLBEntry::SetLineStyle().

void TGGC::SetCapStyle ( Int_t  v  ) 

Definition at line 318 of file TGGC.cxx.

References kGCCapStyle, and SetAttributes().

Referenced by TGLineLBEntry::SetLineStyle().

void TGGC::SetJoinStyle ( Int_t  v  ) 

Definition at line 329 of file TGGC.cxx.

References kGCJoinStyle, and SetAttributes().

void TGGC::SetFillStyle ( Int_t  v  ) 

Definition at line 340 of file TGGC.cxx.

References kGCFillStyle, and SetAttributes().

Referenced by TGSelectedPicture::GetSelectedGC(), and TGedPatternFrame::SetFillStyle().

void TGGC::SetFillRule ( Int_t  v  ) 

Definition at line 352 of file TGGC.cxx.

References kGCFillRule, and SetAttributes().

void TGGC::SetTile ( Pixmap_t  v  ) 

Definition at line 363 of file TGGC.cxx.

References kGCTile, and SetAttributes().

void TGGC::SetStipple ( Pixmap_t  v  ) 

Definition at line 374 of file TGGC.cxx.

References kGCStipple, and SetAttributes().

Referenced by TGSelectedPicture::GetSelectedGC(), and TGedPatternFrame::SetFillStyle().

void TGGC::SetTileStipXOrigin ( Int_t  v  ) 

Definition at line 385 of file TGGC.cxx.

References kGCTileStipXOrigin, and SetAttributes().

Referenced by TGHtml::Redraw(), and TGView::UpdateBackgroundStart().

void TGGC::SetTileStipYOrigin ( Int_t  v  ) 

Definition at line 396 of file TGGC.cxx.

References kGCTileStipYOrigin, and SetAttributes().

Referenced by TGHtml::Redraw(), and TGView::UpdateBackgroundStart().

void TGGC::SetFont ( FontH_t  v  ) 

Definition at line 407 of file TGGC.cxx.

References kGCFont, and SetAttributes().

Referenced by TGLabel::DoRedraw(), EntryTestDlg::EntryTestDlg(), TGLVEntry::GetDefaultGC(), TGTextView::GetDefaultGC(), TGStatusBar::GetDefaultGC(), TGListView::GetDefaultGC(), TGTextView::GetDefaultSelectedGC(), NumberEntryWindow::NumberEntryWindow(), TGTextEntry::SetFont(), TGTableCell::SetFont(), TGTextView::SetFont(), TGTextButton::SetFont(), TGSplitButton::SetFont(), TGGroupFrame::SetTextFont(), and TGLabel::SetTextFont().

void TGGC::SetSubwindowMode ( Int_t  v  ) 

Definition at line 418 of file TGGC.cxx.

References kGCSubwindowMode, and SetAttributes().

void TGGC::SetGraphicsExposures ( Bool_t  v  ) 

Definition at line 429 of file TGGC.cxx.

References kGCGraphicsExposures, and SetAttributes().

void TGGC::SetClipXOrigin ( Int_t  v  ) 

Definition at line 440 of file TGGC.cxx.

References kGCClipXOrigin, and SetAttributes().

void TGGC::SetClipYOrigin ( Int_t  v  ) 

Definition at line 451 of file TGGC.cxx.

References kGCClipYOrigin, and SetAttributes().

void TGGC::SetClipMask ( Pixmap_t  v  ) 

Definition at line 462 of file TGGC.cxx.

References kGCClipMask, and SetAttributes().

Referenced by TGSelectedPicture::TGSelectedPicture().

void TGGC::SetDashOffset ( Int_t  v  ) 

Definition at line 473 of file TGGC.cxx.

References kGCDashOffset, and SetAttributes().

Referenced by TGContainer::GetLineGC(), and TGListTree::GetLineGC().

void TGGC::SetDashList ( const char  v[],
Int_t  len 
)

Definition at line 484 of file TGGC.cxx.

References kGCDashList, TMath::Min(), SetAttributes(), and TObject::Warning().

Referenced by TGContainer::GetLineGC(), TGListTree::GetLineGC(), and TGLineLBEntry::SetLineStyle().

void TGGC::SetArcMode ( Int_t  v  ) 

Definition at line 499 of file TGGC.cxx.

References kGCArcMode, and SetAttributes().

const GCValues_t* TGGC::GetAttributes (  )  const [inline]

Definition at line 82 of file TGGC.h.

References fValues.

Referenced by TGTableCell::SetFont(), TGTextButton::SetFont(), TGSplitButton::SetFont(), TGLabel::SetTextColor(), TGTextButton::SetTextColor(), TGGroupFrame::SetTextColor(), TGGroupFrame::SetTextFont(), and TGLabel::SetTextFont().

Mask_t TGGC::GetMask (  )  const [inline]

Definition at line 83 of file TGGC.h.

References GCValues_t::fMask, and fValues.

Referenced by GetMaskString(), and SavePrimitive().

EGraphicsFunction TGGC::GetFunction (  )  const [inline]

Definition at line 84 of file TGGC.h.

References GCValues_t::fFunction, and fValues.

Referenced by SavePrimitive().

ULong_t TGGC::GetPlaneMask (  )  const [inline]

Definition at line 85 of file TGGC.h.

References GCValues_t::fPlaneMask, and fValues.

Referenced by SavePrimitive().

Pixel_t TGGC::GetForeground (  )  const [inline]

Definition at line 86 of file TGGC.h.

References GCValues_t::fForeground, and fValues.

Referenced by TGuiBldDragManager::ChangeProperties(), TGuiBldDragManager::ChangeTextColor(), TGuiBldDragManager::ChangeTextFont(), TGCheckButton::DoRedraw(), TGLabel::DoRedraw(), TGTextButton::DoRedraw(), TGRadioButton::DoRedraw(), TGSplitButton::DoRedraw(), TGProgressBar::GetBarColor(), TGTextEntry::GetForeground(), TGTextEntry::GetTextColor(), SavePrimitive(), and TGProgressBar::SavePrimitive().

Pixel_t TGGC::GetBackground (  )  const [inline]

Definition at line 87 of file TGGC.h.

References GCValues_t::fBackground, and fValues.

Referenced by SavePrimitive().

Int_t TGGC::GetLineWidth (  )  const [inline]

Definition at line 88 of file TGGC.h.

References GCValues_t::fLineWidth, and fValues.

Referenced by SavePrimitive().

Int_t TGGC::GetLineStyle (  )  const [inline]

Definition at line 89 of file TGGC.h.

References GCValues_t::fLineStyle, and fValues.

Referenced by SavePrimitive().

Pixmap_t TGGC::GetTile (  )  const [inline]

Definition at line 90 of file TGGC.h.

References GCValues_t::fTile, and fValues.

Referenced by SavePrimitive().

Pixmap_t TGGC::GetStipple (  )  const [inline]

Definition at line 91 of file TGGC.h.

References GCValues_t::fStipple, and fValues.

Referenced by SavePrimitive().

Int_t TGGC::GetTileStipXOrigin (  )  const [inline]

Definition at line 92 of file TGGC.h.

References GCValues_t::fTsXOrigin, and fValues.

Referenced by SavePrimitive().

Int_t TGGC::GetTileStipYOrigin (  )  const [inline]

Definition at line 93 of file TGGC.h.

References GCValues_t::fTsYOrigin, and fValues.

Referenced by SavePrimitive().

Int_t TGGC::GetSubwindowMode (  )  const [inline]

Definition at line 94 of file TGGC.h.

References GCValues_t::fSubwindowMode, and fValues.

Referenced by SavePrimitive().

FontH_t TGGC::GetFont (  )  const [inline]

Definition at line 95 of file TGGC.h.

References GCValues_t::fFont, and fValues.

Bool_t TGGC::GetGraphicsExposures (  )  const [inline]

Definition at line 96 of file TGGC.h.

References GCValues_t::fGraphicsExposures, and fValues.

Referenced by SavePrimitive().

Int_t TGGC::GetClipXOrigin (  )  const [inline]

Definition at line 97 of file TGGC.h.

References GCValues_t::fClipXOrigin, and fValues.

Referenced by SavePrimitive().

Int_t TGGC::GetClipYOrigin (  )  const [inline]

Definition at line 98 of file TGGC.h.

References GCValues_t::fClipYOrigin, and fValues.

Referenced by SavePrimitive().

Pixmap_t TGGC::GetClipMask (  )  const [inline]

Definition at line 99 of file TGGC.h.

References GCValues_t::fClipMask, and fValues.

Referenced by SavePrimitive().

Int_t TGGC::GetCapStyle (  )  const [inline]

Definition at line 100 of file TGGC.h.

References GCValues_t::fCapStyle, and fValues.

Referenced by SavePrimitive().

Int_t TGGC::GetJoinStyle (  )  const [inline]

Definition at line 101 of file TGGC.h.

References GCValues_t::fJoinStyle, and fValues.

Referenced by SavePrimitive().

Int_t TGGC::GetFillStyle (  )  const [inline]

Definition at line 102 of file TGGC.h.

References GCValues_t::fFillStyle, and fValues.

Referenced by SavePrimitive().

Int_t TGGC::GetFillRule (  )  const [inline]

Definition at line 103 of file TGGC.h.

References GCValues_t::fFillRule, and fValues.

Referenced by SavePrimitive().

Int_t TGGC::GetDashOffset (  )  const [inline]

Definition at line 104 of file TGGC.h.

References GCValues_t::fDashOffset, and fValues.

Referenced by SavePrimitive().

Int_t TGGC::GetDashLen (  )  const [inline]

Definition at line 105 of file TGGC.h.

References GCValues_t::fDashLen, and fValues.

Referenced by SavePrimitive().

const char* TGGC::GetDashes (  )  const [inline]

Definition at line 106 of file TGGC.h.

References GCValues_t::fDashes, and fValues.

Referenced by SavePrimitive().

Int_t TGGC::GetArcMode (  )  const [inline]

Definition at line 107 of file TGGC.h.

References GCValues_t::fArcMode, and fValues.

Referenced by SavePrimitive().

void TGGC::Print ( Option_t option = ""  )  const [virtual]

Reimplemented from TObject.

Definition at line 510 of file TGGC.cxx.

References fContext, GCValues_t::fMask, fValues, Printf(), and TRefCnt::References().

void TGGC::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TObject.

Definition at line 623 of file TGGC.cxx.

References bit, xmlio::Class, TROOT::ClassSaved(), TString::Data(), TString::Format(), GetArcMode(), GetBackground(), GetCapStyle(), GetClipMask(), GetClipXOrigin(), GetClipYOrigin(), GetDashes(), GetDashLen(), GetDashOffset(), GetFillRule(), GetFillStyle(), GetForeground(), GetFunction(), GetGraphicsExposures(), GetJoinStyle(), GetLineStyle(), GetLineWidth(), GetMask(), GetMaskString(), GetPlaneMask(), GetStipple(), GetSubwindowMode(), GetTile(), GetTileStipXOrigin(), GetTileStipYOrigin(), gROOT, kArcChord, kArcPieSlice, kCapButt, kCapNotLast, kCapProjecting, kCapRound, kClipByChildren, kEvenOddRule, kFillOpaqueStippled, kFillSolid, kFillStippled, kFillTiled, kGCArcMode, kGCBackground, kGCCapStyle, kGCClipMask, kGCClipXOrigin, kGCClipYOrigin, kGCDashList, kGCDashOffset, kGCFillRule, kGCFillStyle, kGCFont, kGCForeground, kGCFunction, kGCGraphicsExposures, kGCJoinStyle, kGCLineStyle, kGCLineWidth, kGCPlaneMask, 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, kWindingRule, TMath::Min(), TColor::PixelAsHexString(), and TObject::Warning().

Referenced by TGTextEntry::SavePrimitive(), TGTab::SavePrimitive(), TGRadioButton::SavePrimitive(), TGLabel::SavePrimitive(), TGTextButton::SavePrimitive(), TGCheckButton::SavePrimitive(), TGVButtonGroup::SavePrimitive(), TGHButtonGroup::SavePrimitive(), TGPictureButton::SavePrimitive(), TGGroupFrame::SavePrimitive(), and TGButtonGroup::SavePrimitive().

void TGGC::UpdateValues ( GCValues_t v  )  [protected]

TString TGGC::GetMaskString (  )  const [protected]

TGGC& TGGC::operator= ( const TGGC rhs  ) 

GContext_t TGGC::GetGC (  )  const [inline]

Definition at line 54 of file TGGC.h.

References fContext.

GContext_t TGGC::operator() (  )  const

void TGGC::SetAttributes ( GCValues_t values  ) 

void TGGC::SetFunction ( EGraphicsFunction  v  ) 

void TGGC::SetPlaneMask ( ULong_t  v  ) 

void TGGC::SetForeground ( Pixel_t  v  ) 

void TGGC::SetBackground ( Pixel_t  v  ) 

void TGGC::SetLineWidth ( Int_t  v  ) 

void TGGC::SetLineStyle ( Int_t  v  ) 

void TGGC::SetCapStyle ( Int_t  v  ) 

void TGGC::SetJoinStyle ( Int_t  v  ) 

void TGGC::SetFillStyle ( Int_t  v  ) 

void TGGC::SetFillRule ( Int_t  v  ) 

void TGGC::SetTile ( Pixmap_t  v  ) 

void TGGC::SetStipple ( Pixmap_t  v  ) 

void TGGC::SetTileStipXOrigin ( Int_t  v  ) 

void TGGC::SetTileStipYOrigin ( Int_t  v  ) 

void TGGC::SetFont ( FontH_t  v  ) 

void TGGC::SetSubwindowMode ( Int_t  v  ) 

void TGGC::SetGraphicsExposures ( Bool_t  v  ) 

void TGGC::SetClipXOrigin ( Int_t  v  ) 

void TGGC::SetClipYOrigin ( Int_t  v  ) 

void TGGC::SetClipMask ( Pixmap_t  v  ) 

void TGGC::SetDashOffset ( Int_t  v  ) 

void TGGC::SetDashList ( const char  v[],
Int_t  len 
)

void TGGC::SetArcMode ( Int_t  v  ) 

const GCValues_t* TGGC::GetAttributes (  )  const [inline]

Definition at line 82 of file TGGC.h.

References fValues.

Mask_t TGGC::GetMask (  )  const [inline]

Definition at line 83 of file TGGC.h.

References GCValues_t::fMask, and fValues.

EGraphicsFunction TGGC::GetFunction (  )  const [inline]

Definition at line 84 of file TGGC.h.

References GCValues_t::fFunction, and fValues.

ULong_t TGGC::GetPlaneMask (  )  const [inline]

Definition at line 85 of file TGGC.h.

References GCValues_t::fPlaneMask, and fValues.

Pixel_t TGGC::GetForeground (  )  const [inline]

Definition at line 86 of file TGGC.h.

References GCValues_t::fForeground, and fValues.

Pixel_t TGGC::GetBackground (  )  const [inline]

Definition at line 87 of file TGGC.h.

References GCValues_t::fBackground, and fValues.

Int_t TGGC::GetLineWidth (  )  const [inline]

Definition at line 88 of file TGGC.h.

References GCValues_t::fLineWidth, and fValues.

Int_t TGGC::GetLineStyle (  )  const [inline]

Definition at line 89 of file TGGC.h.

References GCValues_t::fLineStyle, and fValues.

Pixmap_t TGGC::GetTile (  )  const [inline]

Definition at line 90 of file TGGC.h.

References GCValues_t::fTile, and fValues.

Pixmap_t TGGC::GetStipple (  )  const [inline]

Definition at line 91 of file TGGC.h.

References GCValues_t::fStipple, and fValues.

Int_t TGGC::GetTileStipXOrigin (  )  const [inline]

Definition at line 92 of file TGGC.h.

References GCValues_t::fTsXOrigin, and fValues.

Int_t TGGC::GetTileStipYOrigin (  )  const [inline]

Definition at line 93 of file TGGC.h.

References GCValues_t::fTsYOrigin, and fValues.

Int_t TGGC::GetSubwindowMode (  )  const [inline]

Definition at line 94 of file TGGC.h.

References GCValues_t::fSubwindowMode, and fValues.

FontH_t TGGC::GetFont (  )  const [inline]

Definition at line 95 of file TGGC.h.

References GCValues_t::fFont, and fValues.

Bool_t TGGC::GetGraphicsExposures (  )  const [inline]

Definition at line 96 of file TGGC.h.

References GCValues_t::fGraphicsExposures, and fValues.

Int_t TGGC::GetClipXOrigin (  )  const [inline]

Definition at line 97 of file TGGC.h.

References GCValues_t::fClipXOrigin, and fValues.

Int_t TGGC::GetClipYOrigin (  )  const [inline]

Definition at line 98 of file TGGC.h.

References GCValues_t::fClipYOrigin, and fValues.

Pixmap_t TGGC::GetClipMask (  )  const [inline]

Definition at line 99 of file TGGC.h.

References GCValues_t::fClipMask, and fValues.

Int_t TGGC::GetCapStyle (  )  const [inline]

Definition at line 100 of file TGGC.h.

References GCValues_t::fCapStyle, and fValues.

Int_t TGGC::GetJoinStyle (  )  const [inline]

Definition at line 101 of file TGGC.h.

References GCValues_t::fJoinStyle, and fValues.

Int_t TGGC::GetFillStyle (  )  const [inline]

Definition at line 102 of file TGGC.h.

References GCValues_t::fFillStyle, and fValues.

Int_t TGGC::GetFillRule (  )  const [inline]

Definition at line 103 of file TGGC.h.

References GCValues_t::fFillRule, and fValues.

Int_t TGGC::GetDashOffset (  )  const [inline]

Definition at line 104 of file TGGC.h.

References GCValues_t::fDashOffset, and fValues.

Int_t TGGC::GetDashLen (  )  const [inline]

Definition at line 105 of file TGGC.h.

References GCValues_t::fDashLen, and fValues.

const char* TGGC::GetDashes (  )  const [inline]

Definition at line 106 of file TGGC.h.

References GCValues_t::fDashes, and fValues.

Int_t TGGC::GetArcMode (  )  const [inline]

Definition at line 107 of file TGGC.h.

References GCValues_t::fArcMode, and fValues.

void TGGC::Print ( Option_t option = ""  )  const [virtual]

Reimplemented from TObject.

void TGGC::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TObject.


Friends And Related Function Documentation

TGGCPool [friend]

Definition at line 37 of file TGGC.h.


Member Data Documentation

GCValues_t TGGC::fValues [protected]

Definition at line 40 of file TGGC.h.

Referenced by GetArcMode(), GetAttributes(), GetBackground(), GetCapStyle(), GetClipMask(), GetClipXOrigin(), GetClipYOrigin(), GetDashes(), GetDashLen(), GetDashOffset(), GetFillRule(), GetFillStyle(), GetFont(), GetForeground(), GetFunction(), TGGCPool::GetGC(), GetGraphicsExposures(), GetJoinStyle(), GetLineStyle(), GetLineWidth(), GetMask(), GetPlaneMask(), GetStipple(), GetSubwindowMode(), GetTile(), GetTileStipXOrigin(), GetTileStipYOrigin(), TGGCPool::MatchGC(), operator=(), Print(), SetAttributes(), TGGC(), and UpdateValues().

GContext_t TGGC::fContext [protected]

Definition at line 41 of file TGGC.h.

Referenced by GetGC(), operator()(), operator=(), Print(), SetAttributes(), TGGC(), and ~TGGC().


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