mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Changed getMatrixFromTransform: to takeMatrixFromTransform: to be
consistent with method naming conventions git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8620 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e4c1e53c8c
commit
8360e0ca42
4 changed files with 5 additions and 5 deletions
|
@ -5,7 +5,7 @@ Tue Jan 16 12:01:28 2001 Nicola Pero <n.pero@mi.flashnet.it>
|
|||
|
||||
Tue Jan 16 11:54:30 2001 Nicola Pero <n.pero@mi.flashnet.it>
|
||||
|
||||
* Source/NSAffineTransform.m ([-getMatrixFromTransform:]): New
|
||||
* Source/NSAffineTransform.m ([-takeMatrixFromTransform:]): New
|
||||
method to get quickly the matrix from another transform.
|
||||
* Headers/gnustep/gui/NSAffineTransform.h: Added corresponding
|
||||
declaration.
|
||||
|
|
|
@ -96,7 +96,7 @@ typedef struct {
|
|||
- (void) setMatrix: (const float[6])replace;
|
||||
- (void) getMatrix: (float[6])replace;
|
||||
|
||||
- (void) getMatrixFromTransform: (NSAffineTransform *)other;
|
||||
- (void) takeMatrixFromTransform: (NSAffineTransform *)other;
|
||||
|
||||
@end
|
||||
#endif
|
||||
|
|
|
@ -607,7 +607,7 @@ static NSAffineTransformStruct identityTransform = {
|
|||
replace[5] = matrix.ty;
|
||||
}
|
||||
|
||||
- (void) getMatrixFromTransform: (NSAffineTransform *)other
|
||||
- (void) takeMatrixFromTransform: (NSAffineTransform *)other
|
||||
{
|
||||
matrix.m11 = other->matrix.m11;
|
||||
matrix.m12 = other->matrix.m12;
|
||||
|
|
|
@ -2800,7 +2800,7 @@ static NSView* findByTag(NSView *view, int aTag, unsigned *level)
|
|||
BOOL wasFlipped = _super_view->_rFlags.flipped_view;
|
||||
NSAffineTransform *pMatrix = [_super_view _matrixToWindow];
|
||||
|
||||
[_matrixToWindow getMatrixFromTransform: pMatrix];
|
||||
[_matrixToWindow takeMatrixFromTransform: pMatrix];
|
||||
(*appImp)(_matrixToWindow, appSel, _frameMatrix);
|
||||
if (_rFlags.flipped_view != wasFlipped)
|
||||
{
|
||||
|
@ -2813,7 +2813,7 @@ static NSView* findByTag(NSView *view, int aTag, unsigned *level)
|
|||
(*appImp)(_matrixToWindow, appSel, flip);
|
||||
}
|
||||
(*appImp)(_matrixToWindow, appSel, _boundsMatrix);
|
||||
[_matrixFromWindow getMatrixFromTransform: _matrixToWindow];
|
||||
[_matrixFromWindow takeMatrixFromTransform: _matrixToWindow];
|
||||
[_matrixFromWindow inverse];
|
||||
|
||||
superviewsVisibleRect = [self convertRect: [_super_view visibleRect]
|
||||
|
|
Loading…
Reference in a new issue