mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 20:01:22 +00:00
Use standard NSAffineTransform methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13930 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
31fc3a695b
commit
9c5ed166aa
1 changed files with 2 additions and 2 deletions
|
@ -505,7 +505,7 @@
|
|||
|
||||
// This is rather slow, but it is not used very often
|
||||
ictm = [ctm copyWithZone: GSObjCZone(self)];
|
||||
[ictm inverse];
|
||||
[ictm invert];
|
||||
user = [ictm pointInMatrixSpace: [path currentPoint]];
|
||||
RELEASE(ictm);
|
||||
*x = user.x;
|
||||
|
@ -573,7 +573,7 @@
|
|||
|
||||
- (void)DPSscale: (float)x : (float)y
|
||||
{
|
||||
[ctm scaleBy: x : y];
|
||||
[ctm scaleXBy: x yBy: y];
|
||||
}
|
||||
|
||||
- (void)DPStranslate: (float)x : (float)y
|
||||
|
|
Loading…
Reference in a new issue