Commit 19d7f633 authored by invinctus's avatar invinctus
Browse files

Fixed viewbox transaltion when altering the aspect ratio

parent 3a2c7983
......@@ -160,6 +160,8 @@ namespace Svg
float fViewMidY = (this.Height / 2) * fScaleY;
float fMidX = width / 2;
float fMidY = height / 2;
fMinX = -this.MinX * fScaleX;
fMinY = -this.MinY * fScaleY;
switch (aspectRatio.Align)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment