A set of defaults for graphics attributes, e.g.
for histogram fill color, line width, frame offsets etc. Uses CSS syntax.
Definition at line 31 of file RStyle.hxx.
Classes | |
struct | Block_t |
Public Member Functions | |
RAttrMap & | AddBlock (const std::string &selector) |
void | Clear () |
Parse string with CSS code inside. More... | |
const RAttrMap::Value_t * | Eval (const std::string &field, const RDrawable &drawable) const |
Evaluate attribute value for provided RDrawable. More... | |
const RAttrMap::Value_t * | Eval (const std::string &field, const std::string &selector) const |
Evaluate attribute value for provided selector - exact match is expected. More... | |
bool | ParseString (const std::string &css_code) |
Parse string with CSS code inside All data will be append to existing style records. More... | |
Private Attributes | |
std::list< Block_t > | fBlocks |
#include <ROOT/RStyle.hxx>
|
inline |
Definition at line 49 of file RStyle.hxx.
void ROOT::Experimental::RStyle::Clear | ( | ) |
Parse string with CSS code inside.
Definition at line 52 of file RStyle.cxx.
const ROOT::Experimental::RAttrMap::Value_t * ROOT::Experimental::RStyle::Eval | ( | const std::string & | field, |
const RDrawable & | drawable | ||
) | const |
Evaluate attribute value for provided RDrawable.
Definition at line 19 of file RStyle.cxx.
const ROOT::Experimental::RAttrMap::Value_t * ROOT::Experimental::RStyle::Eval | ( | const std::string & | field, |
const std::string & | selector | ||
) | const |
Evaluate attribute value for provided selector - exact match is expected.
Definition at line 35 of file RStyle.cxx.
bool ROOT::Experimental::RStyle::ParseString | ( | const std::string & | css_code | ) |
Parse string with CSS code inside All data will be append to existing style records.
Definition at line 61 of file RStyle.cxx.
|
private |
Definition at line 61 of file RStyle.hxx.