Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-10-10

Build Requirements: N/A

Runtime Requirements: Mac OS X Color QuickDraw, CarbonLib

View Source Code:

Download Sample (“Direct_Pixel_Access.zip”, 54.6K)
Download Sample (“Direct_Pixel_Access.dmg”, 111.7K)


This sample has been updated for the Carbon API. This sample shows one example of how to directly change the pixel values stored in a pixel image. The original pixel image is obtained from a 'icl8' resource. Only the first 20 columns of the first 20 rows of the 'icl8' image is used. Requirements: Color QuickDraw, CarbonLib Keywords: PixMap, Direct Pixel Access, GetCPixel, GetPixBaseAddr, CopyBits, Carbon

Document Revision History

Date Notes
2003-10-10First Version

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.