Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

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

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
Declared In
NSQuickDrawView.h

Next Page > Hide TOC


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.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice