#define ClassDef(name, id)
virtual ~TGGCPool()
Delete graphics context pool.
Int_t MatchGC(const TGGC *gc, GCValues_t *values)
Try to find matching graphics context.
TGGC * GetGC(GCValues_t *values, Bool_t rw=kFALSE)
Get the best matching graphics context depending on values.
void FreeGC(const TGGC *gc)
Delete graphics context if it is not used anymore.
TGGCPool & operator=(const TGGCPool &gp)
TGGC * FindGC(const TGGC *gc)
Find graphics context. Returns 0 in case gc is not found.
void Print(Option_t *option="") const
List all graphics contexts in the pool.
void ForceFreeGC(const TGGC *gc)
Force remove graphics context from list. Is only called via ~TGGC().
TGGCPool(const TGGCPool &gp)
void UpdateGC(TGGC *gc, GCValues_t *values)
Update graphics context with the values spcified in values->fMask.
void SetArcMode(Int_t v)
Set arc mode (kArcChord, kArcPieSlice).
Int_t GetTileStipYOrigin() const
TGGC(GCValues_t *values, Bool_t calledByGCPool)
Create a graphics context (only called via TGGCPool::GetGC()).
Int_t GetJoinStyle() const
Bool_t GetGraphicsExposures() const
Int_t GetSubwindowMode() const
Int_t GetFillStyle() const
void SavePrimitive(std::ostream &out, Option_t *option="")
Save graphics context info as a C++ statement(s) on output stream out.
void SetLineWidth(Int_t v)
Set line width.
ULong_t GetPlaneMask() const
void SetFont(FontH_t v)
Set font.
void SetPlaneMask(ULong_t v)
Set plane mask.
TGGC & operator=(const TGGC &rhs)
Graphics context assignment operator.
void SetTileStipYOrigin(Int_t v)
Y offset for tile or stipple operations.
Pixmap_t GetClipMask() const
Int_t GetClipXOrigin() const
void SetFillStyle(Int_t v)
Set fill style (kFillSolid, kFillTiled, kFillStippled, kFillOpaeueStippled).
Pixel_t GetForeground() const
Int_t GetFillRule() const
void SetCapStyle(Int_t v)
Set cap style (kCapNotLast, kCapButt, kCapRound, kCapProjecting).
void Print(Option_t *option="") const
Print graphics contexts info.
const char * GetDashes() const
Int_t GetTileStipXOrigin() const
void SetForeground(Pixel_t v)
Set foreground color.
Int_t GetLineStyle() const
void SetClipMask(Pixmap_t v)
Bitmap for clipping.
void SetFillRule(Int_t v)
Set fill rule (kEvenOddRule, kWindingRule).
GContext_t operator()() const
Not inline due to a bug in g++ 2.96 20000731 (Red Hat Linux 7.0).
void SetDashOffset(Int_t v)
Patterned/dashed line offset.
void SetTileStipXOrigin(Int_t v)
X offset for tile or stipple operations.
void SetAttributes(GCValues_t *values)
Set attributes as specified in the values structure.
void SetDashList(const char v[], Int_t len)
Set dash pattern. First use SetDashOffset() if not 0.
EGraphicsFunction GetFunction() const
void SetJoinStyle(Int_t v)
Set line join style (kJoinMiter, kJoinRound, kJoinBevel).
void SetClipXOrigin(Int_t v)
X origin for clipping.
Int_t GetClipYOrigin() const
Pixel_t GetBackground() const
void SetTile(Pixmap_t v)
Set tile pixmap for tiling operations.
void SetClipYOrigin(Int_t v)
Y origin for clipping.
void UpdateValues(GCValues_t *v)
Update values + mask.
void SetBackground(Pixel_t v)
Set background color.
void SetFunction(EGraphicsFunction v)
Set graphics context drawing function.
void SetStipple(Pixmap_t v)
Set 1 plane pixmap for stippling.
Pixmap_t GetStipple() const
Int_t GetLineWidth() const
void SetGraphicsExposures(Bool_t v)
True if graphics exposure should be generated.
void SetLineStyle(Int_t v)
Set line style (kLineSolid, kLineOnOffDash, kLineDoubleDash).
Int_t GetDashOffset() const
Int_t GetCapStyle() const
virtual ~TGGC()
Delete graphics context.
const GCValues_t * GetAttributes() const
TString GetMaskString() const
Returns GC mask as a string - used in SavePrimitive().
void SetSubwindowMode(Int_t v)
Set sub window mode (kClipByChildren, kIncludeInferiors).
TGObject & operator=(const TGObject &tgo)
THashTable implements a hash table to store TObject's.
Mother of all ROOT objects.
Definitions for TRefCnt, base class for reference counted objects.
Bool_t fGraphicsExposures
EGraphicsFunction fFunction