|
static | scaleSVGUnit ( $length, $viewportSize=512) |
| Return a rounded pixel equivalent for a labeled CSS/SVG length.
|
|
Definition at line 36 of file SVGReader.php.
◆ __construct()
SVGReader::__construct |
( |
| $source | ) |
|
Creates an SVGReader drawing from the source provided.
- Parameters
-
string | $source | URI from which to read |
- Exceptions
-
Definition at line 59 of file SVGReader.php.
References $source, and read().
◆ getMetadata()
SVGReader::getMetadata |
( |
| ) |
|
- Returns
- array Array with the known metadata
Definition at line 121 of file SVGReader.php.
◆ read()
◆ scaleSVGUnit()
static SVGReader::scaleSVGUnit |
( |
| $length, |
|
|
| $viewportSize = 512 ) |
|
static |
◆ LANG_FULL_MATCH
const SVGReader::LANG_FULL_MATCH = 2 |
◆ LANG_PREFIX_MATCH
const SVGReader::LANG_PREFIX_MATCH = 1 |
The documentation for this class was generated from the following file: