Warning, file /include/root/ROOT/RMarker.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef ROOT7_RMarker
0010 #define ROOT7_RMarker
0011
0012 #include <ROOT/ROnFrameDrawable.hxx>
0013 #include <ROOT/RAttrMarker.hxx>
0014 #include <ROOT/RPadPos.hxx>
0015
0016 #include <initializer_list>
0017
0018 namespace ROOT {
0019 namespace Experimental {
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029 class RMarker : public ROnFrameDrawable {
0030
0031 RPadPos fP;
0032
0033 public:
0034 RAttrMarker marker{this, "marker"};
0035
0036 RMarker() : ROnFrameDrawable("marker") {}
0037
0038 RMarker(const RPadPos &p) : RMarker() { fP = p; }
0039
0040 RMarker &SetP(const RPadPos &p) { fP = p; return *this; }
0041 const RPadPos &GetP() const { return fP; }
0042 };
0043
0044 }
0045 }
0046
0047 #endif