Mac OS X Reference Library Apple Developer Connection spyglass button

Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Carbon ProjectBuilder or CodeWarrior 8.3+

View Source Code:

Download Sample Code (“aglClipBufferRect.zip”, 46.2K)



Description

This example shows the use of clip regions and buffer rects in AGL. The example has menu operations to create a standard or model window and then toggle clip regions and buffer rects on and off. Note the controls correct receive clicks and the window resize is properly supported. See Technical Q&A 1222 at <http://developer.apple.com/qa> for more details. This example also provides a single Mach-O source and both CodeWarrior 8.3+ and Project Builder projects, showing how each should be structured. Requirements: ProjectBuilder or CodeWarrior 8.3+ Keywords: OpenGL, AGL, clip region, buffer rect, Mach-O

Document Revision History

Date Notes
2003-01-14Shows the use of clip regions and buffer rects in AGL.
Did this document help you? Yes It's good, but... Not helpful...