/usr/include/root/TMarker.h is in libroot-graf2d-graf-dev 5.34.30-0ubuntu8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | // @(#)root/graf:$Id$
// Author: Rene Brun 12/05/95
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TMarker
#define ROOT_TMarker
//////////////////////////////////////////////////////////////////////////
// //
// TMarker //
// //
// Marker. //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TAttMarker
#include "TAttMarker.h"
#endif
#ifndef ROOT_TNamed
#include "TNamed.h"
#endif
#ifndef ROOT_TAttBBox2D
#include "TAttBBox2D.h"
#endif
#ifndef ROOT_GuiTypes
#include "GuiTypes.h"
#endif
class TPoint;
class TMarker : public TObject, public TAttMarker, public TAttBBox2D {
protected:
Double_t fX; //X position of marker (left,center,etc..)
Double_t fY; //Y position of marker (left,center,etc..)
public:
// TMarker status bits
enum { kMarkerNDC = BIT(14) };
TMarker();
TMarker(Double_t x, Double_t y, Int_t marker);
TMarker(const TMarker &marker);
virtual ~TMarker();
void Copy(TObject &marker) const;
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
virtual void Draw(Option_t *option="");
virtual void DrawMarker(Double_t x, Double_t y);
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
Double_t GetX() const {return fX;}
Double_t GetY() const {return fY;}
virtual void ls(Option_t *option="") const;
virtual void Paint(Option_t *option="");
virtual void PaintMarker(Double_t x, Double_t y);
virtual void PaintMarkerNDC(Double_t u, Double_t v);
virtual void Print(Option_t *option="") const;
virtual void SavePrimitive(ostream &out, Option_t *option = "");
virtual void SetNDC(Bool_t isNDC=kTRUE);
virtual void SetX(Double_t x) { fX = x;} // *MENU*
virtual void SetY(Double_t y) { fY = y;} // *MENU*
virtual Rectangle_t GetBBox();
virtual TPoint GetBBoxCenter();
virtual void SetBBoxCenter(const TPoint &p);
virtual void SetBBoxCenterX(const Int_t x);
virtual void SetBBoxCenterY(const Int_t y);
virtual void SetBBoxX1(const Int_t x);
virtual void SetBBoxX2(const Int_t x);
virtual void SetBBoxY1(const Int_t y);
virtual void SetBBoxY2(const Int_t y);
static void DisplayMarkerTypes();
ClassDef(TMarker,3) //Marker
};
#endif
|