Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
MyDeviceLoop
Last Revision: | Version 1.0, 2003-10-10 First Version |
Build Requirements: | |
Runtime Requirements: | Carbon (both 9 and X) CarbonLib |
This sample has been updated for the Carbon API. A device loop procedure searches all active screen devices, calling a drawing procedure whenever it encounters a screen that intersects the drawing region. In this app the drawing region is the app's window bounds and the chosen drawing procedure simply displays the screen's colors for every device the window bounds intersect. Requirements: CarbonLib Keywords: ClipRect, GetNextDevice, GetDeviceList, Carbon
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-10-10