Re: Drawing Pixels with NSBezierPath
Re: Drawing Pixels with NSBezierPath
- Subject: Re: Drawing Pixels with NSBezierPath
- From: Shaun Wexler <email@hidden>
- Date: Tue, 6 Jul 2004 17:22:58 -0700
On Jul 6, 2004, at 1:52 PM, Shawn Erickson wrote:
>
Only fall back on doing this if needed because of performance and
>
consider any need to print out or otherwise export the images
>
generated. Finally consider the assumption of 1 pixel per point in the
>
72 DPI world because that assumption may change in the future.
>
>
Using Quartz2D/Cocoa will give you the ability to rasterize your
>
"pixel" grid at arbitrary resolutions and dump it various output
>
formats. Also it will be fully color corrected.
Mapping the source texture to a quadrilateral also performs resolution
conversion. Going "back out" to a bitmap image from a texture is
relatively simple, as well as the subsequent color correction.
However, performance should be the main reason to use OpenGL in this
case... but don't be scared of GL. You can easily use an accelerated
Quartz CGGLContext as your drawable, if you want.
--
Shaun Wexler
MacFOH
http://www.macfoh.com
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.