• 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: How to detect a Retina Mac
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to detect a Retina Mac


  • Subject: Re: How to detect a Retina Mac
  • From: Simone Tellini <email@hidden>
  • Date: Mon, 19 Aug 2013 09:10:49 +0200

Il giorno 19/ago/2013, alle ore 09:01, "Gerriet M. Denkmann" <email@hidden> ha scritto:

>
> On 19 Aug 2013, at 06:41, Marcel Weiher <email@hidden> wrote:
[...]
> I also tried (before [image lockFocus]:
> 		NSGraphicsContext *bitmapContext = [ NSGraphicsContext graphicsContextWithBitmapImageRep: imageRep ];
> 		[NSGraphicsContext setCurrentContext: bitmapContext ];
> But after  [image lockFocus] the currentContext changes to: NSSnapshotBitmapGraphicsContext.
>


in this case, you should not use -lockFocus: since you have already created and set the new context, you just need to start drawing

--
Simone Tellini
http://tellini.info


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: 
 >How to detect a Retina Mac (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: How to detect a Retina Mac (From: Tom Davie <email@hidden>)
 >Re: How to detect a Retina Mac (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: How to detect a Retina Mac (From: Tom Davie <email@hidden>)
 >Re: How to detect a Retina Mac (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: How to detect a Retina Mac (From: Marcel Weiher <email@hidden>)
 >Re: How to detect a Retina Mac (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: How to detect a Retina Mac
  • Next by Date: Re: How to detect a Retina Mac
  • Previous by thread: Re: How to detect a Retina Mac
  • Next by thread: Re: How to detect a Retina Mac
  • Index(es):
    • Date
    • Thread