Use more standard method to scale an affine transform

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13929 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2002-06-22 15:41:16 +00:00
parent edb4bc930e
commit 31fc3a695b

View file

@ -795,7 +795,7 @@ static unsigned int unique_index = 0;
NSHeight(rect) / pixelsHigh);
trans = [NSAffineTransform transform];
[trans translateToPoint: rect.origin];
[trans scaleBy: scale.width : scale.height];
[trans scaleXBy: scale.width yBy: scale.height];
/* This does essentially what the DPS...image operators do, so
as to avoid an extra method call */