Tests reading an SVG's own size from its root element.
More...
#include "SvgSize.h"
#include <catch2/catch.hpp>
|
|
| SCENARIO ("gnuplot's SVG gives its size in width and height") |
| |
|
| SCENARIO ("Physical units are converted at the given resolution") |
| |
|
| SCENARIO ("Pixels stay pixels at any resolution") |
| |
|
| SCENARIO ("A missing or relative size comes from the viewBox") |
| |
|
| SCENARIO ("Comments, processing instructions and a doctype come before the root") |
| |
|
| SCENARIO ("Something that isn't an SVG with a size has no size") |
| |
|
int | main (int argc, char *argv[]) |
| |
Tests reading an SVG's own size from its root element.