★ wanayoo — archive 1999 http://developer.apple.com/samplecode/Sample_Code/Graphics_2D/MyDeviceLoop.htmNouvelle recherche | Portail wanayoo
Technical: Sample Code: Graphics 2D: MyDeviceLoop
Graphics 2D
ADC Resources
Sample Code

MyDeviceLoop

download (14.7 KB)

Version:

1.1

Date:

Wednesday, August 16, 2000

Description:

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




Samples are designed to work with CodeWarrior 2 or later and Universal Interfaces 3.2 unless otherwise noted. Archives can be uncompressed with StuffIt Expander 5.0 or later.
Gray line
 
Site Map | Search Tips | Options | Keywords

Contact Us | Privacy Notice
Copyright © 2000 Apple Computer, Inc. All rights reserved.
1-800-MY-APPLE