Drawing line attributes for different objects.
- Authors
- Axel Naumann axel@.nosp@m.cern.nosp@m..ch Sergey Linev s.lin.nosp@m.ev@g.nosp@m.si.de
- Date
- 2018-10-12
- Warning
- This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
Definition at line 26 of file RAttrLine.hxx.
|
| enum | EStyle {
kNone = 0
, kSolid = 1
, kDashed = 2
, kDotted = 3
,
kDashDotted = 4
, kStyle1 = 1
, kStyle2 = 2
, kStyle3 = 3
,
kStyle4 = 4
, kStyle5 = 5
, kStyle6 = 6
, kStyle7 = 7
,
kStyle8 = 8
, kStyle9 = 9
, kStyle10 = 10
} |
|
| RAttrValue< RColor > | color {this, "color", RColor::kBlack} |
| | ! line color
|
| RAttrValue< std::string > | pattern {this, "pattern"} |
| | ! line pattern like "3,2,3,1,5"
|
| RAttrValue< EStyle > | style {this, "style", kSolid} |
| | ! line style
|
| RAttrValue< double > | width {this, "width", 1.} |
| | ! line width
|
#include <ROOT/RAttrLine.hxx>
◆ anonymous enum
| Enumerator |
|---|
| kDrawable | |
| kParent | |
| kOwnAttr | |
Definition at line 37 of file RAttrBase.hxx.
◆ EStyle
| Enumerator |
|---|
| kNone | |
| kSolid | |
| kDashed | |
| kDotted | |
| kDashDotted | |
| kStyle1 | |
| kStyle2 | |
| kStyle3 | |
| kStyle4 | |
| kStyle5 | |
| kStyle6 | |
| kStyle7 | |
| kStyle8 | |
| kStyle9 | |
| kStyle10 | |
Definition at line 32 of file RAttrLine.hxx.
◆ RAttrLine() [1/5]
| ROOT::Experimental::RAttrLine::RAttrLine |
( |
| ) |
|
|
default |
◆ RAttrLine() [2/5]
| ROOT::Experimental::RAttrLine::RAttrLine |
( |
RDrawable * | drawable, |
|
|
const char * | prefix = "line" ) |
|
inline |
◆ RAttrLine() [3/5]
| ROOT::Experimental::RAttrLine::RAttrLine |
( |
RAttrBase * | parent, |
|
|
const char * | prefix = "line" ) |
|
inline |
◆ RAttrLine() [4/5]
| ROOT::Experimental::RAttrLine::RAttrLine |
( |
const RAttrLine & | src | ) |
|
|
inline |
◆ RAttrLine() [5/5]
| ROOT::Experimental::RAttrLine::RAttrLine |
( |
const RColor & | _color, |
|
|
double | _width, |
|
|
EStyle | _style ) |
|
inline |
◆ AccessAttr()
| const Rec_t ROOT::Experimental::RAttrBase::AccessAttr |
( |
const std::string & | name | ) |
const |
|
inlineprotectedinherited |
Find attributes container and full-qualified name for value.
Definition at line 70 of file RAttrBase.hxx.
◆ AccessValue()
| const Val_t ROOT::Experimental::RAttrBase::AccessValue |
( |
const std::string & | name, |
|
|
bool | use_style = true ) const |
|
inlineprotectedinherited |
Search value with given name in attributes.
Definition at line 95 of file RAttrBase.hxx.
◆ Clear()
| void RAttrAggregation::Clear |
( |
| ) |
|
|
overridevirtualinherited |
◆ ClearData()
| void RAttrBase::ClearData |
( |
| ) |
|
|
privateinherited |
◆ ClearValue()
| void RAttrBase::ClearValue |
( |
const std::string & | name | ) |
|
|
protectedinherited |
Clear value if any with specified name.
Definition at line 54 of file RAttrBase.cxx.
◆ CollectDefaults()
| RAttrMap RAttrAggregation::CollectDefaults |
( |
| ) |
const |
|
overrideprotectedvirtualinherited |
◆ CopyTo()
◆ CopyValue()
◆ CreateOwnAttr()
Creates own attribute - only if no drawable and no parent are assigned.
Definition at line 37 of file RAttrBase.cxx.
◆ EnsureAttr()
| Rec_t ROOT::Experimental::RAttrBase::EnsureAttr |
( |
const std::string & | name | ) |
|
|
inlineprotectedinherited |
Ensure attribute with give name exists - creates container for attributes if required.
Definition at line 112 of file RAttrBase.hxx.
◆ GetDefaults()
| const RAttrMap & ROOT::Experimental::RAttrLine::GetDefaults |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
◆ GetDrawable()
| RDrawable * ROOT::Experimental::RAttrBase::GetDrawable |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ GetOwnAttr()
| RAttrMap * ROOT::Experimental::RAttrBase::GetOwnAttr |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ GetParent()
| RAttrBase * ROOT::Experimental::RAttrBase::GetParent |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ GetPrefix()
| const char * ROOT::Experimental::RAttrBase::GetPrefix |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ IsAggregation()
| bool ROOT::Experimental::RAttrAggregation::IsAggregation |
( |
| ) |
const |
|
inlinefinalprotectedvirtualinherited |
◆ IsSame()
Check if all values which are evaluated in this object are exactly the same as in tgt object.
Definition at line 103 of file RAttrAggregation.cxx.
◆ IsValueEqual()
| bool RAttrAggregation::IsValueEqual |
( |
const std::string & | name, |
|
|
const RAttrMap::Value_t & | value, |
|
|
bool | use_style = false ) const |
|
protectedinherited |
◆ MoveTo()
Move all fields into target object.
Definition at line 73 of file RAttrBase.cxx.
◆ operator=()
◆ SetNoValue()
| void RAttrBase::SetNoValue |
( |
const std::string & | name | ) |
|
|
protectedinherited |
Set <NoValue> for attribute.
Ensure that value can not be configured via style - defaults will be used Equivalent to css syntax { attrname:; }
Definition at line 64 of file RAttrBase.cxx.
◆ color
◆ drawable
| RDrawable* ROOT::Experimental::RAttrBase::drawable |
|
inherited |
◆ fPrefix
| const char* ROOT::Experimental::RAttrBase::fPrefix {nullptr} |
|
privateinherited |
! name prefix for all attributes values
Definition at line 45 of file RAttrBase.hxx.
◆ []
| enum { ... } ROOT::Experimental::RAttrBase::kDrawable |
◆ [union]
| union { ... } ROOT::Experimental::RAttrBase::nullptr |
◆ ownattr
| RAttrMap* ROOT::Experimental::RAttrBase::ownattr |
|
inherited |
◆ parent
| RAttrBase* ROOT::Experimental::RAttrBase::parent |
|
inherited |
◆ pattern
| RAttrValue<std::string> ROOT::Experimental::RAttrLine::pattern {this, "pattern"} |
! line pattern like "3,2,3,1,5"
Definition at line 53 of file RAttrLine.hxx.
◆ style
◆ width
The documentation for this class was generated from the following file: