Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Draw a non-antialiased image (NSImage)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Draw a non-antialiased image (NSImage)



-----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

References: 
 >Draw a non-antialiased image (NSImage) (From: Nick <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.