/usr/include/root/TAttAxis.h is in libroot-core-dev 5.34.19+dfsg-1.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 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | // @(#)root/base:$Id$
// Author: Rene Brun 12/12/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_TAttAxis
#define ROOT_TAttAxis
//////////////////////////////////////////////////////////////////////////
// //
// TAttAxis //
// //
// Axis attributes. //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_Rtypes
#include "Rtypes.h"
#endif
#ifndef ROOT_Riosfwd
#include "Riosfwd.h"
#endif
class TAttAxis {
protected:
Int_t fNdivisions; //Number of divisions(10000*n3 + 100*n2 + n1)
Color_t fAxisColor; //color of the line axis
Color_t fLabelColor; //color of labels
Style_t fLabelFont; //font for labels
Float_t fLabelOffset; //offset of labels
Float_t fLabelSize; //size of labels
Float_t fTickLength; //length of tick marks
Float_t fTitleOffset; //offset of axis title
Float_t fTitleSize; //size of axis title
Color_t fTitleColor; //color of axis title
Style_t fTitleFont; //font for axis title
public:
TAttAxis();
virtual ~TAttAxis();
void Copy(TAttAxis &attaxis) const;
virtual Int_t GetNdivisions() const {return fNdivisions;}
virtual Color_t GetAxisColor() const {return fAxisColor;}
virtual Color_t GetLabelColor() const {return fLabelColor;}
virtual Style_t GetLabelFont() const {return fLabelFont;}
virtual Float_t GetLabelOffset() const {return fLabelOffset;}
virtual Float_t GetLabelSize() const {return fLabelSize;}
virtual Float_t GetTitleOffset() const {return fTitleOffset;}
virtual Float_t GetTitleSize() const {return fTitleSize;}
virtual Float_t GetTickLength() const {return fTickLength;}
virtual Color_t GetTitleColor() const {return fTitleColor;}
virtual Style_t GetTitleFont() const {return fTitleFont;}
virtual void ResetAttAxis(Option_t *option="");
virtual void SaveAttributes(ostream &out, const char *name, const char *subname);
virtual void SetNdivisions(Int_t n=510, Bool_t optim=kTRUE); // *MENU*
virtual void SetNdivisions(Int_t n1, Int_t n2, Int_t n3, Bool_t optim=kTRUE);
virtual void SetAxisColor(Color_t color=1, Float_t alpha=1.); // *MENU*
virtual void SetLabelColor(Color_t color=1, Float_t alpha=1.); // *MENU*
virtual void SetLabelFont(Style_t font=62); // *MENU*
virtual void SetLabelOffset(Float_t offset=0.005); // *MENU*
virtual void SetLabelSize(Float_t size=0.04); // *MENU*
virtual void SetTickLength(Float_t length=0.03); // *MENU*
virtual void SetTitleOffset(Float_t offset=1); // *MENU*
virtual void SetTitleSize(Float_t size=0.04); // *MENU*
virtual void SetTitleColor(Color_t color=1); // *MENU*
virtual void SetTitleFont(Style_t font=62); // *MENU*
ClassDef(TAttAxis,4); //Axis attributes
};
#endif
|