Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
TDiamond.h
Go to the documentation of this file.
1 // @(#)root/graf:$Id$
2 // Author: Rene Brun 22/06/96
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TDiamond
13 #define ROOT_TDiamond
14 
15 
16 #include "TPaveText.h"
17 #include "TAttLine.h"
18 #include "TAttFill.h"
19 
20 
21 class TDiamond : public TPaveText {
22 
23 public:
24  TDiamond();
25  TDiamond(Double_t x1, Double_t y1,Double_t x2, Double_t y2);
26  TDiamond(const TDiamond &diamond);
27  virtual ~TDiamond();
28  virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
29  virtual void Draw(Option_t *option="");
30  virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
31  virtual void Paint(Option_t *option="");
32  virtual void SavePrimitive(std::ostream &out, Option_t *option = "");
33 
34  ClassDef(TDiamond,1) //Diamond class
35 };
36 
37 #endif
38