Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
TCrown.h
Go to the documentation of this file.
1 // @(#)root/graf:$Id$
2 // Author: Rene Brun 08/08/2002
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_TCrown
13 #define ROOT_TCrown
14 
15 
16 #include "TEllipse.h"
17 
18 
19 class TCrown : public TEllipse {
20 
21 public:
22  TCrown();
23  TCrown(Double_t x1, Double_t y1,Double_t radin, Double_t radout,
24  Double_t phimin=0,Double_t phimax=360);
25  TCrown(const TCrown &crown);
26  virtual ~TCrown();
27  void Copy(TObject &crown) const;
28  virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
29  virtual void DrawCrown(Double_t x1, Double_t y1, Double_t radin, Double_t radout,
30  Double_t phimin=0, Double_t phimax=360, Option_t *option="");
31  virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
32  virtual void Paint(Option_t *option="");
33  virtual void SavePrimitive(std::ostream &out, Option_t *option = "");
34 
35  ClassDef(TCrown,1) //A crown or segment of crown
36 };
37 
38 #endif