Creating and Displaying an Image
Creating and Displaying an Image
- Subject: Creating and Displaying an Image
- From: "Stuart Bryson" <email@hidden>
- Date: Mon, 30 Jul 2001 11:37:43 +1000
Hi all,
I am trying to write a program that can create an image by simply
plotting pixel by pixel on my screen (or off-screen) and then being able
to display it on screen. I would ultimately like to see something like:
[Object setPixelx:20 y:30 color:blue];
[Object Display];
I had a look at NSImage but it seems that this class is for displaying
images that are already created and is not really used for drawing pixels
to a graphics port.
Hope this makes sense.
Stuart
------------------------------------------------------------------------
Get your FREE download of MSN Explorer at
http://explorer.msn.com