TCreatePrimitives.h

Go to the documentation of this file.
00001 // @(#)root/gpad:$Id: TCreatePrimitives.h,v 1.0
00002 
00003 /*************************************************************************
00004  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
00005  * All rights reserved.                                                  *
00006  *                                                                       *
00007  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00008  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00009  *************************************************************************/
00010 
00011 #ifndef ROOT_TCreatePrimitives
00012 #define ROOT_TCreatePrimitives
00013 
00014 
00015 //////////////////////////////////////////////////////////////////////////
00016 //                                                                      //
00017 // TCreatePrimitives                                                    //
00018 //                                                                      //
00019 // Creates new primitives.                                              //
00020 //                                                                      //
00021 // The functions in this static class are called by TPad::ExecuteEvent  //
00022 // to create new primitives in gPad from the TPad toolbar.              //
00023 //                                                                      //
00024 //////////////////////////////////////////////////////////////////////////
00025 
00026 #ifndef ROOT_Rtypes
00027 #include "Rtypes.h"
00028 #endif
00029 
00030 class TCreatePrimitives {
00031 
00032 public:
00033 
00034    TCreatePrimitives();
00035    virtual ~TCreatePrimitives();
00036    static void Ellipse(Int_t event, Int_t px, Int_t py,Int_t mode);
00037    static void Line(Int_t event, Int_t px, Int_t py, Int_t mode);
00038    static void Pad(Int_t event, Int_t px, Int_t py, Int_t);
00039    static void Pave(Int_t event, Int_t px, Int_t py, Int_t mode);
00040    static void PolyLine(Int_t event, Int_t px, Int_t py, Int_t mode);
00041    static void Text(Int_t event, Int_t px, Int_t py, Int_t mode);
00042 };
00043 
00044 #endif

Generated on Tue Jul 5 14:13:56 2011 for ROOT_528-00b_version by  doxygen 1.5.1