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