#include <genesis/utils/formats/svg/group.hpp>
Definition at line 50 of file group.hpp.
◆ SvgGroup() [1/3]
◆ ~SvgGroup()
◆ SvgGroup() [2/3]
◆ SvgGroup() [3/3]
◆ add() [1/2]
◆ add() [2/2]
◆ bounding_box()
◆ clear()
◆ empty()
◆ operator bool()
◆ operator<<() [1/2]
◆ operator<<() [2/2]
Shortcut operator for add(), which allows an even more fluent interface.
Definition at line 125 of file group.cpp.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ reverse()
◆ set_hyperlink() [1/2]
self_type& set_hyperlink |
( |
std::string const & |
value | ) |
|
|
inline |
Simple tweak to allow making parts of an image clickable.
This will simply add an <a>
tag around the group, making everything in it clickable and hyperlink to the given URL. We currently do not have any per-object hyperlinks, and hence instead everything with a hyperlink has to go in a group.
Definition at line 105 of file group.hpp.
◆ set_hyperlink() [2/2]
self_type& set_hyperlink |
( |
std::unordered_map< std::string, std::string > const & |
values | ) |
|
|
inline |
Tweak to allow making parts of an image cickable.
This is the same as the simply string version of this function, but additionally allows to set extra attributes to be used within the <a>
tag. Note that the key href
needs to be present in the map, in order to actually have a hyerlink to be cickable.
Definition at line 118 of file group.hpp.
◆ write()
◆ self_type
◆ content_
◆ hyperlink_
std::unordered_map<std::string, std::string> hyperlink_ |
◆ id
◆ transform
The documentation for this struct was generated from the following files: