mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 11:20:37 +00:00
Updated code - removed unused code, do not call a no longer existing method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13942 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2577cfcd9f
commit
444e38c8c6
1 changed files with 2 additions and 9 deletions
|
@ -254,13 +254,6 @@ static NSAffineTransformStruct identityTransform = {
|
||||||
|
|
||||||
- (void) set
|
- (void) set
|
||||||
{
|
{
|
||||||
float m[6];
|
|
||||||
m[0] = matrix.m11;
|
|
||||||
m[1] = matrix.m12;
|
|
||||||
m[2] = matrix.m21;
|
|
||||||
m[3] = matrix.m22;
|
|
||||||
m[4] = matrix.tx;
|
|
||||||
m[5] = matrix.ty;
|
|
||||||
GSSetCTM(GSCurrentContext(), self);
|
GSSetCTM(GSCurrentContext(), self);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -307,7 +300,7 @@ static NSAffineTransformStruct identityTransform = {
|
||||||
return matrix;
|
return matrix;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) translateXBy: (float)tranX yBy: (float)tranY
|
- (void) translateXBy: (float)tranX yBy: (float)tranY
|
||||||
{
|
{
|
||||||
TX += tranX;
|
TX += tranX;
|
||||||
TY += tranY;
|
TY += tranY;
|
||||||
|
@ -400,7 +393,7 @@ static NSAffineTransformStruct identityTransform = {
|
||||||
if (rotationAngle < 0)
|
if (rotationAngle < 0)
|
||||||
[self rotationAngle];
|
[self rotationAngle];
|
||||||
newAngle = angle - rotationAngle;
|
newAngle = angle - rotationAngle;
|
||||||
[self rotateByAngle: newAngle];
|
[self rotateByDegrees: newAngle];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (float) rotationAngle
|
- (float) rotationAngle
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue