mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 20:01:22 +00:00
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:
parent
edb4bc930e
commit
31fc3a695b
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue