TDiamond.h

Go to the documentation of this file.
00001 // @(#)root/graf:$Id: TDiamond.h 20882 2007-11-19 11:31:26Z rdm $
00002 // Author: Rene Brun   22/06/96
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 #ifndef ROOT_TDiamond
00013 #define ROOT_TDiamond
00014 
00015 
00016 //////////////////////////////////////////////////////////////////////////
00017 //                                                                      //
00018 // TDiamond                                                             //
00019 //                                                                      //
00020 // Diamond class.                                                       //
00021 //                                                                      //
00022 //////////////////////////////////////////////////////////////////////////
00023 
00024 #ifndef ROOT_TPaveText
00025 #include "TPaveText.h"
00026 #endif
00027 #ifndef ROOT_TAttLine
00028 #include "TAttLine.h"
00029 #endif
00030 #ifndef ROOT_TAttFill
00031 #include "TAttFill.h"
00032 #endif
00033 
00034 
00035 class TDiamond :  public TPaveText {
00036 
00037 public:
00038    TDiamond();
00039    TDiamond(Double_t x1, Double_t y1,Double_t x2, Double_t  y2);
00040    TDiamond(const TDiamond &diamond);
00041    virtual ~TDiamond();
00042    virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
00043    virtual void  Draw(Option_t *option="");
00044    virtual void  ExecuteEvent(Int_t event, Int_t px, Int_t py);
00045    virtual void  Paint(Option_t *option="");
00046    virtual void  SavePrimitive(ostream &out, Option_t *option = "");
00047 
00048    ClassDef(TDiamond,1)  //Diamond class
00049 };
00050 
00051 #endif
00052 

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