Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TDiamond.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // @(#)root/graf:$Id$
0002 // Author: Rene Brun   22/06/96
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_TDiamond
0013 #define ROOT_TDiamond
0014 
0015 #include "TPaveText.h"
0016 
0017 class TDiamond :  public TPaveText {
0018 
0019 public:
0020    TDiamond();
0021    TDiamond(Double_t x1, Double_t y1,Double_t x2, Double_t  y2);
0022    TDiamond(const TDiamond &diamond);
0023    ~TDiamond() override;
0024    Int_t DistancetoPrimitive(Int_t px, Int_t py) override;
0025    void  Draw(Option_t *option="") override;
0026    Int_t IsInside(Double_t x, Double_t y) const override;
0027    void  ExecuteEvent(Int_t event, Int_t px, Int_t py) override;
0028    void  Paint(Option_t *option="") override;
0029    void  SavePrimitive(std::ostream &out, Option_t *option = "") override;
0030 
0031    ClassDefOverride(TDiamond,1)  //Diamond class
0032 };
0033 
0034 #endif