/usr/include/root/TAttBBox2D.h is in libroot-core-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 | // @(#)root/base:$Id$
// Author: Anna-Pia Lohfink 27.3.2014
/*************************************************************************
* Copyright (C) 1995-2014, 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_TAttBBox2D
#define ROOT_TAttBBox2D
//////////////////////////////////////////////////////////////////////////
// //
// TAttBBox2D //
// //
// Abstract base class for elements drawn in the editor. //
// Classes inhereting from TAttBBox2D implementing the TAttBBox2D //
// virtual classes, and using TPad::ShowGuideLines in ExecuteEvent //
// will autimatically get the guide lines drawn when moved in the pad. //
// All methods work with pixel coordinates. //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_GuiTypes
#include "GuiTypes.h"
#endif
#ifndef ROOT_Rtypes
#include "Rtypes.h"
#endif
class TPoint;
class TAttBBox2D {
public:
virtual ~TAttBBox2D();
virtual Rectangle_t GetBBox() = 0; //Get TopLeft Corner with width and height
virtual TPoint GetBBoxCenter() = 0;
virtual void SetBBoxCenter(const TPoint &p) = 0;
virtual void SetBBoxCenterX(const Int_t x) = 0;
virtual void SetBBoxCenterY(const Int_t y) = 0;
virtual void SetBBoxX1(const Int_t x) = 0; //set lhs of BB to value
virtual void SetBBoxX2(const Int_t x) = 0; //set rhs of BB to value
virtual void SetBBoxY1(const Int_t y) = 0; //set top of BB to value
virtual void SetBBoxY2(const Int_t y) = 0; //set bottom of BB to value
ClassDef(TAttBBox2D,0); //2D bounding box attributes
};
#endif
|