Re: NSAffineTransform
Re: NSAffineTransform
- Subject: Re: NSAffineTransform
- From: Jim Beard <email@hidden>
- Date: Wed, 6 Feb 2002 13:09:15 -0800
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Howdy again,
Someone responded to my post and pointed me in the right
direction. Each transform needed to be a separate object and then be
applied to a master transform through the -appendTransform: method.
Then the master transform is applied to the NSBezierPath. This worked
great.
My problem now is that the drawRect: method in my CustomView
doesn't seem to get called
when my translation variable update methods call -display. So the first
frame is drawn great, but subsequent changes to my translation angles
don't get reflected. I tried calling -drawRect: myself which didn't
work, then I saw in the docs where it says not to called the method
directly. However I know that [self display] is not calling -drawRect
because a log message from -drawRect is not printed out. Any advice?
Jim
On Wednesday, February 6, 2002 at 10:06 AM, Jim Beard wrote:
<snip NSAffineTransform stuff>
___________________________________
Jim Beard
Masters Student in CS @ U of Oregon
~
PGP Public Key:
http://www.cs.uoregon.edu/~jim/pgp.html
1F87 0604 E10A 20BA 99FD E57D 7AAF 6B4E 3669 5B29
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (Darwin)
Comment: For info see
http://www.gnupg.org
iD8DBQE8YZt+eq9rTjZpWykRAjy6AJ9W1CYPwoDFXcdC9lD9/bdNw6gd6QCeI4y8
pPafz8Zo2CpbaXtGwCm7Zjc=
=HZS9
-----END PGP SIGNATURE-----
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.