![]() |
|
SVG support for creating aligned image panels. More...
#include <graphics-base.h>
Public Types | |
| enum | ElemClass { NONE = 0 , MAIN_TITLE = 1 , GROUP_TITLE = 2 , IMAGE_TITLE = 4 , TIME = 8 , LOCATION = 16 , GENERAL = 32 , ALL = (63) , SIDE_PANEL , BORDER } |
Static Public Member Functions | |
| static void | addStyle (drain::image::TreeSVG &style) |
| static const std::string & | guessFormat (const std::string &key) |
| returns timeformat | |
| static drain::image::TreeSVG & | addTitleBox (const ConfSVG &conf, drain::image::TreeSVG &object, RackSVG::ElemClass elemClass) |
| Create a title from background rectangle and TEXT elements (MAINTITLE, LOCATION, TIME, GENERAL) | |
| static drain::image::TreeSVG & | appendTitleElements (const ConfSVG &conf, drain::image::TreeSVG &group, const std::string &anchor, RackSVG::ElemClass elemClass) |
| Add title elements in given group, to "reserve slots" for actual text content to be added later. | |
| static drain::image::TreeSVG & | appendTitleElements (const ConfSVG &conf, drain::image::TreeSVG &group, const char *anchor, RackSVG::ElemClass elemClass) |
| static drain::image::TreeSVG & | appendTitleElements (const ConfSVG &conf, drain::image::TreeSVG &group, const drain::ClassXML &anchor, RackSVG::ElemClass elemClass) |
| template<class T > | |
| static drain::image::TreeSVG & | appendTitleElements (const ConfSVG &conf, drain::image::TreeSVG &group, const T &anchorId, RackSVG::ElemClass elemClass) |
| static void | addMetaData (const drain::image::Image &src, drain::image::ImagePanel &imagePanel) |
SVG support for creating aligned image panels.
|
static |
These mainly for PANELS
|
static |
Create a title from background rectangle and TEXT elements (MAINTITLE, LOCATION, TIME, GENERAL)
|
static |
Add title elements in given group, to "reserve slots" for actual text content to be added later.
TODO const double fontSize = // getStyleValue(root, RackSVG::TITLE, "font-size", 12.5); root[drain::image::svg::STYLE][elemClass]->get("font-size", 12.5);
returns timeformat
Group identifiers for elements which be automatically aligned (stacked horizontally or vertically)
key => Rack.cls.key = 'key'; TODO template
Is return value needed?
1.9.8