/usr/include/root/TAttLine.h is in libroot-core-dev 5.34.00-2.
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 | // @(#)root/base:$Id: TAttLine.h 27860 2009-03-18 08:36:17Z brun $
// Author: Rene Brun 28/11/94
/*************************************************************************
* 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_TAttLine
#define ROOT_TAttLine
//////////////////////////////////////////////////////////////////////////
// //
// TAttLine //
// //
// Line attributes. //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_Rtypes
#include "Rtypes.h"
#endif
#ifndef ROOT_Riosfwd
#include "Riosfwd.h"
#endif
class TAttLine {
protected:
Color_t fLineColor; //line color
Style_t fLineStyle; //line style
Width_t fLineWidth; //line width
public:
TAttLine();
TAttLine(Color_t lcolor,Style_t lstyle, Width_t lwidth);
virtual ~TAttLine();
void Copy(TAttLine &attline) const;
Int_t DistancetoLine(Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2 );
virtual Color_t GetLineColor() const {return fLineColor;}
virtual Style_t GetLineStyle() const {return fLineStyle;}
virtual Width_t GetLineWidth() const {return fLineWidth;}
virtual void Modify();
virtual void ResetAttLine(Option_t *option="");
virtual void SaveLineAttributes(ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1);
virtual void SetLineAttributes(); // *MENU*
virtual void SetLineColor(Color_t lcolor) { fLineColor = lcolor;}
virtual void SetLineStyle(Style_t lstyle) { fLineStyle = lstyle;}
virtual void SetLineWidth(Width_t lwidth) { fLineWidth = lwidth;}
ClassDef(TAttLine,1); //Line attributes
};
enum ELineStyle { kSolid = 1, kDashed, kDotted, kDashDotted };
#endif
|