Skip to content

Commit 38f4538

Browse files
author
Cristy
committed
affine layout is sx, ry, rx, sy, tx, ty
1 parent 90e5956 commit 38f4538

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

magick/draw.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -2650,13 +2650,13 @@ static MagickBooleanType RenderMVGContent(Image *image,
26502650
(void) GetNextToken(q,&q,extent,token);
26512651
if (*token == ',')
26522652
(void) GetNextToken(q,&q,extent,token);
2653-
affine.rx=GetDrawValue(token,&next_token);
2653+
affine.ry=GetDrawValue(token,&next_token);
26542654
if (token == next_token)
26552655
ThrowPointExpectedException(image,token);
26562656
(void) GetNextToken(q,&q,extent,token);
26572657
if (*token == ',')
26582658
(void) GetNextToken(q,&q,extent,token);
2659-
affine.ry=GetDrawValue(token,&next_token);
2659+
affine.rx=GetDrawValue(token,&next_token);
26602660
if (token == next_token)
26612661
ThrowPointExpectedException(image,token);
26622662
(void) GetNextToken(q,&q,extent,token);

wand/drawing-wand.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ WandExport void DrawAffine(DrawingWand *wand,const AffineMatrix *affine)
618618
assert(affine != (const AffineMatrix *) NULL);
619619
AdjustAffine(wand,affine);
620620
(void) MVGPrintf(wand,"affine %.20g %.20g %.20g %.20g %.20g %.20g\n",
621-
affine->sx,affine->rx,affine->ry,affine->sy,affine->tx,affine->ty);
621+
affine->sx,affine->ry,affine->rx,affine->sy,affine->tx,affine->ty);
622622
}
623623

624624
/*

0 commit comments

Comments
 (0)