@@ -35,6 +35,7 @@ public function testCreateBuildsFormXObjectFromPathBasedSvg(): void
3535 self ::assertSame ('/Form ' , $ xObject ->dictionary ['Subtype ' ]);
3636 self ::assertSame (1 , $ xObject ->dictionary ['FormType ' ]);
3737 self ::assertSame ([0.0 , 0.0 , 10.0 , 8.0 ], $ xObject ->dictionary ['BBox ' ]);
38+ self ::assertSame ([0.1 , 0.0 , 0.0 , 0.125 , 0.0 , 0.0 ], $ xObject ->dictionary ['Matrix ' ]);
3839 self ::assertStringContainsString ('0.0667 0.1333 0.2 rg ' , $ xObject ->stream );
3940 self ::assertStringContainsString ('0.000000 8.000000 m ' , $ xObject ->stream );
4041 self ::assertStringContainsString ('10.000000 0.000000 l ' , $ xObject ->stream );
@@ -57,6 +58,7 @@ public function testCreateSupportsPolygonAndRectElements(): void
5758 );
5859
5960 self ::assertSame ([0.0 , 0.0 , 20.0 , 20.0 ], $ xObject ->dictionary ['BBox ' ]);
61+ self ::assertSame ([0.05 , 0.0 , 0.0 , 0.05 , 0.0 , 0.0 ], $ xObject ->dictionary ['Matrix ' ]);
6062 self ::assertStringContainsString ('1 0 0 rg ' , $ xObject ->stream );
6163 self ::assertStringContainsString ('0.000000 20.000000 m ' , $ xObject ->stream );
6264 self ::assertStringContainsString ('0 1 0 rg ' , $ xObject ->stream );
0 commit comments