TGGCPool


class description - source file - inheritance tree

class TGGCPool : public TGObject

    private:
Int_t MatchGC(TGGC* gc, GCValues_t* values) void UpdateGC(TGGC* gc, GCValues_t* values) protected:
public:
TGGCPool TGGCPool(TGClient* client) TGGCPool TGGCPool(TGGCPool&) virtual void ~TGGCPool() static TClass* Class() void FreeGC(TGGC* gc) TGGC* GetGC(GCValues_t* values) virtual TClass* IsA() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

private:
protected:
TList* fList list of graphics contexts in pool public:

Class Description

                                                                      
 TGGC and TGGCPool                                                    
                                                                      
 Encapsulate a graphics context used in the low level graphics.       
 TGGCPool provides a pool of graphics contexts.                       
                                                                      


TGGCPool(TGClient *client)
 Create graphics context pool.

~TGGCPool()
 Delete graphics context pool.

void FreeGC(TGGC *gc)
 Delete graphics context if it not used anymore.

TGGC* GetGC(GCValues_t *values)
 Get the best matching graphics context depending on values.

Int_t MatchGC(TGGC *gc, GCValues_t *values)
 Try to find matching graphics context. On success returns the amount
 of matching bits (which may be zero if masks have no common bits),
 -1 on failure (when there are common bits but not a single match).

void UpdateGC(TGGC *gc, GCValues_t *values)
 Update graphics context with the values spcified in values->fMask.



Inline Functions


            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
           TGGCPool TGGCPool(TGGCPool&)


Author: Fons Rademakers 20/9/2000
Last update: root/gui:$Name: $:$Id: TGGC.cxx,v 1.4 2001/06/22 16:10:17 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.