Re: Draw a non-antialiased image (NSImage)
Re: Draw a non-antialiased image (NSImage)
- Subject: Re: Draw a non-antialiased image (NSImage)
- From: Conrad Shultz <email@hidden>
- Date: Fri, 28 Oct 2011 18:38:43 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/26/11 1:17 AM, Nick wrote:
> hi I have a 2x2 px png image which represents a line element. I am
> drawing this
Btw, using an image for a 2x2 element seems like overkill. Even if
you drew every pixel with Quartz drawing code you would have four
lines of code.
Unless you are working with an artist or designer who is not in a
position to edit code, you can probably get better results (as well as
resolution independence) by drawing such an element in code.
- --
Conrad Shultz
Synthetiq Solutions
www.synthetiqsolutions.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iD8DBQFOq1kjaOlrz5+0JdURAgf5AJ9AuQDO/CQfF+wWCJaorQGRk5fb/ACdHLsl
/O9rLjCikWJ1wCqJ8YlaaIk=
=yG+Z
-----END PGP SIGNATURE-----
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden