On 2006-02-27 08:56:35 -0700 Fred Kiefer <[EMAIL PROTECTED]> 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.



_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to