/usr/include/root/TAttMarker.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 | // @(#)root/base:$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_TAttMarker
#define ROOT_TAttMarker
//////////////////////////////////////////////////////////////////////////
// //
// TAttMarker //
// //
// Marker attributes. //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_Rtypes
#include "Rtypes.h"
#endif
#ifndef ROOT_Riosfwd
#include "Riosfwd.h"
#endif
class TAttMarker {
protected:
Color_t fMarkerColor; //Marker color index
Style_t fMarkerStyle; //Marker style
Size_t fMarkerSize; //Marker size
public:
TAttMarker();
TAttMarker(Color_t color, Style_t style, Size_t msize);
virtual ~TAttMarker();
void Copy(TAttMarker &attmarker) const;
virtual Color_t GetMarkerColor() const {return fMarkerColor;}
virtual Style_t GetMarkerStyle() const {return fMarkerStyle;}
virtual Size_t GetMarkerSize() const {return fMarkerSize;}
virtual void Modify();
virtual void ResetAttMarker(Option_t *toption="");
virtual void SaveMarkerAttributes(ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t sizdef=1);
virtual void SetMarkerAttributes(); // *MENU*
virtual void SetMarkerColor(Color_t mcolor=1) { fMarkerColor = mcolor;}
virtual void SetMarkerColorAlpha(Color_t mcolor, Float_t malpha);
virtual void SetMarkerStyle(Style_t mstyle=1) { fMarkerStyle = mstyle;}
virtual void SetMarkerSize(Size_t msize=1) { fMarkerSize = msize;}
ClassDef(TAttMarker,2); //Marker attributes
};
enum EMarkerStyle {kDot=1, kPlus, kStar, kCircle=4, kMultiply=5,
kFullDotSmall=6, kFullDotMedium=7, kFullDotLarge=8,
kFullCircle=20, kFullSquare=21, kFullTriangleUp=22,
kFullTriangleDown=23, kOpenCircle=24, kOpenSquare=25,
kOpenTriangleUp=26, kOpenDiamond=27, kOpenCross=28,
kFullStar=29, kOpenStar=30, kOpenTriangleDown=32,
kFullDiamond=33, kFullCross=34};
#endif
|