|
SVG for C++
|
#include <svg.hpp>
Inherits detail::TypedNames< T >.
Public Member Functions | |
| Classes (std::initializer_list< ClassSpec< T > > specs) | |
| template<typename... Keys> | |
| std::string | selector (Keys... keys) const |
| template<typename... Keys> | |
| std::string | classes (Keys... keys) const |
Typed helper for building class attributes and class selectors without stringly lookups.
|
inline |
Validate and register typed CSS class tokens.
|
inline |
Return a space-separated class attribute value.
|
inline |
Return a CSS selector for one class or a combined selector for multiple classes.