bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FW: [Fwd: Bug in NSAffineTransform]


From: Adam Fedor
Subject: Re: FW: [Fwd: Bug in NSAffineTransform]
Date: Mon, 27 Feb 2006 09:09:57 -0700

On 2006-02-27 08:56:35 -0700 Fred Kiefer <fredkiefer@gmx.de> wrote:

I did write a small test application to find out, what is the correct
behaviour, as I never can tell, where append and where prepend should be
used. The following code should be run on MacOSX and the result be
compared with the one on GNUstep:


I get the exact same results on Mac OSX. Although %@ does not print the contents of the struct on Mac OSX, I have to use something like:

static void
print_matrix (NSString *str, NSAffineTransform *m)
{
  NSAffineTransformStruct MM = [m transformStruct];
  NSLog(@"%@ = %f %f %f %f  %f %f\n", str, MM.m11, MM.m12,
          MM.m21, MM.m22, MM.tX, MM.tY);
}


Also note that I have a test in the testsuite (gui/NSAffineTransform) that tests NSAffineTransform and has been verified to match Mac OS X.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]