Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImage question



Yes, I've been down this same road myself. The solution I landed on was to subclass NSView and do the drawing myself with the aid of NSAffineTransform and related stuff. It seems to give you more flexibility than mucking around with NSImageView.


On Mar 29, 2007, at 5:04 AM, James Chen wrote:

Hi,
Any consideration to have a custom NSView.
Override the drawRect:. Draw your images with whatever scale/ location you
want.
By doing so, you don't need extra NSImage as off-screen buffer no more.


Best Regards,
James Chen
Presentation Product Division
TEL: +886 2 22263630 ext 8538
FAX: +886 2 22267241
Mailto: email@hidden
http://www.avermedia.com
AVerMedia Technologies, Inc.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: NSImage question (From: James Chen <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.