• 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: Image within a custom NSView gets blurrier as I scale
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image within a custom NSView gets blurrier as I scale


  • Subject: Re: Image within a custom NSView gets blurrier as I scale
  • From: Andreas Mayer <email@hidden>
  • Date: Tue, 11 Apr 2006 23:23:02 +0200


Am 11.04.2006 um 22:28 Uhr schrieb Frederick C. Lee:

What is the efficient (w/out loss of image resolution) way of scaling an image within a NSView (vs. NSImageView)?

Do not set the image's size; instead use

- (void)drawInRect:(NSRect)dstRect fromRect:(NSRect)srcRect operation: (NSCompositingOperation)op fraction:(float)delta

for compositing.


Andreas _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Image within a custom NSView gets blurrier as I scale (From: "Frederick C. Lee" <email@hidden>)
 >Re: Image within a custom NSView gets blurrier as I scale (From: "Corey O'Connor" <email@hidden>)
 >Re: Image within a custom NSView gets blurrier as I scale (From: "Frederick C. Lee" <email@hidden>)

  • Prev by Date: Re: slow drawRect not displaying correctly
  • Next by Date: Re: NSCell with Embedded NSView
  • Previous by thread: Re: Image within a custom NSView gets blurrier as I scale
  • Next by thread: OT: Kernel Extension vs. IOKit Driver
  • Index(es):
    • Date
    • Thread