Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RAttrBorder.hxx
Go to the documentation of this file.
1/*************************************************************************
2 * Copyright (C) 1995-2021, Rene Brun and Fons Rademakers. *
3 * All rights reserved. *
4 * *
5 * For the licensing terms see $ROOTSYS/LICENSE. *
6 * For the list of contributors see $ROOTSYS/README/CREDITS. *
7 *************************************************************************/
8
9#ifndef ROOT7_RAttrBorder
10#define ROOT7_RAttrBorder
11
12#include <ROOT/RAttrLine.hxx>
13#include <ROOT/RAttrValue.hxx>
14
15namespace ROOT {
16namespace Experimental {
17
18/** \class RAttrBorder
19\ingroup GpadROOT7
20\author Sergey Linev <s.linev@gsi.de>
21\date 2021-06-08
22\brief Drawing line attributes for different objects.
23\warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
24*/
25
26class RAttrBorder : public RAttrLine {
27
29
30public:
31
32 RAttrValue<int> rx{this, "rx", 0}; ///<! rounding on x coordinate, px
33 RAttrValue<int> ry{this, "ry", 0}; ///<! rounding on y coordinate, px
34
35};
36
37} // namespace Experimental
38} // namespace ROOT
39
40#endif
#define R__ATTR_CLASS_DERIVED(ClassName, dflt_prefix, BaseClass)
Drawing line attributes for different objects.
RAttrValue< int > ry
! rounding on y coordinate, px
RAttrValue< int > rx
! rounding on x coordinate, px
Drawing line attributes for different objects.
Definition RAttrLine.hxx:26
Template class to access single value from drawable or other attributes.
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.