Drawing options for a RPad.
Definition at line 188 of file RPad.hxx.
|
| DrawingOpts ()=default |
|
| DrawingOpts (const RPadPos &pos, const RPadExtent &size) |
|
RAttrBox | Border () |
|
RPadPos | GetPos () const |
|
RPadExtent | GetSize () const |
|
DrawingOpts & | SetPos (const RPadPos &pos) |
| The position (offset) of the pad. More...
|
|
DrawingOpts & | SetSize (const RPadExtent &size) |
| The size of the pad. More...
|
|
| RDrawingOptsBase ()=default |
|
| RDrawingOptsBase (const std::vector< std::string > &styleClasses) |
| Initialize the options with a (possibly empty) set of style classes. More...
|
|
std::shared_ptr< RDrawingAttrHolder > & | GetHolder () |
|
const std::vector< std::string > & | GetStyleClasses () const |
| Get the attribute style classes of these options. More...
|
|
void | SetStyleClasses (const std::vector< std::string > &styles) |
| Get the attribute style classes of these options. More...
|
|
| RDrawingAttrBase (const Name &name) |
| Construct a named attribute that does not have a parent; e.g. More...
|
|
| RDrawingAttrBase (const Name &name, const RDrawingAttrBase &parent) |
| Construct a named attribute that has a parent, e.g. More...
|
|
| RDrawingAttrBase (const Name &name, RDrawingOptsBase &opts) |
| Construct a top-most attribute from its holder. More...
|
|
| RDrawingAttrBase (const RDrawingAttrBase &other)=default |
| Construct as a copy. More...
|
|
| RDrawingAttrBase (FromOption_t, const Name &name, RDrawingOptsBase &opts) |
| Construct a top-most attribute from its holder. More...
|
|
| RDrawingAttrBase (RDrawingAttrBase &&other)=default |
| Construct as a moved-to. More...
|
|
template<class T > |
T | Get (const Name &name) const |
| Get the attribute value for an attribute value of type T . More...
|
|
const std::weak_ptr< RDrawingAttrHolder > & | GetHolderPtr () const |
| Actual attribute holder. More...
|
|
const Path & | GetPath () const |
| Return the attribute names that lead to this attribute, starting with the topmost attribute, i.e. More...
|
|
bool | IsFromStyle (const Name &name) const |
| Return true if the attribute's value comes from the styles, i.e. More...
|
|
bool | operator!= (const RDrawingAttrBase &other) const |
| Compare unequal to other RDrawingAttrBase. Returns the negated operator== . More...
|
|
RDrawingAttrBase & | operator= (const RDrawingAttrBase &rhs) |
| Copy-assign: this assigns the attribute values to this attribute, without changing the connected drawing options object / holder or attribute path! More...
|
|
bool | operator== (const RDrawingAttrBase &other) const |
| Equality compare to other RDrawingAttrBase. More...
|
|
template<class T > |
void | Set (const Name &name, const T &val) |
| Insert or update the attribute value identified by name to the given value. More...
|
|