• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSImage question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImage question


  • Subject: Re: NSImage question
  • From: Robert Walker <email@hidden>
  • Date: Thu, 29 Mar 2007 19:57:51 -0400

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:
This email sent to email@hidden


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

  • Prev by Date: Re: NSNumberFormatter separator issue
  • Next by Date: RE: NSImage question
  • Previous by thread: Re: NSImage question
  • Next by thread: RE: NSImage question
  • Index(es):
    • Date
    • Thread