Next Page > Hide TOC

NSQuickDrawView Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/AppKit.framework
Availability
Available in Mac OS X v10.0 and later.
Not available to 64-bit applications.
Companion guide
Declared in
NSQuickDrawView.h
Related sample code

Overview

The NSQuickDrawView class lets you use Carbon QuickDraw functions inside an NSView object.

Important: The QuickDraw API is deprecated in Mac OS X v10.4 and later. See Quartz Programming Guide for QuickDraw Developers for information on moving from QuickDraw to Quartz.

Tasks

Getting a QuickDraw Graphics Pointer

Instance Methods

qdPort

Returns the QuickDraw graphics pointer associated with the view.

- (void *)qdPort

Return Value

The QuickDraw graphics pointer.

Discussion

The graphics pointer is valid only while the view has focus. Once the view relinquishes the focus, the graphics pointer is undefined.

Availability
Related Sample Code
Declared In
NSQuickDrawView.h

Next Page > Hide TOC


© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-01-30)


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.