:octocat: QRMarkup::svg() removed width/height in favor of viewBox #30

This commit is contained in:
codemasher
2019-03-01 15:26:29 +01:00
parent ba81dab259
commit 090bbeb0f1
4 changed files with 24 additions and 7 deletions
+11
View File
@@ -137,6 +137,17 @@ trait QROptionsTrait{
*/
protected $svgDefs = '<style>rect{shape-rendering:crispEdges}</style>';
/**
* SVG viewBox size. a single integer number which defines width/height of the viewBox attribute.
*
* viewBox="0 0 x x"
*
* @see https://css-tricks.com/scale-svg/#article-header-id-3
*
* @var int
*/
protected $svgViewBoxSize;
/**
* string substitute for dark
*