• 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: CGContextSetRGBFillColor() off by one?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CGContextSetRGBFillColor() off by one?


  • Subject: Re: CGContextSetRGBFillColor() off by one?
  • From: Mike Manzano <email@hidden>
  • Date: Thu, 29 May 2008 14:17:06 -0700

I just tried running it on an old PowerBook, and I get the same results. Do you know for sure that ColorSync is in play here?

Thanks,

Mike

On May 29, 2008, at 2:40 AM, Uli Kusterer wrote:

Am 29.05.2008 um 09:21 schrieb Mike Manzano:
Regardless of what I set the red component to, the value in the actual image buffer is always off by one (it is always exactly one less). This does not seem to be true for the green and blue components.

Any ideas why?


ColorSync hard at work? Have you tried switching to a different profile to see whether the differences ... errr... differ?

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de






_______________________________________________

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


  • Follow-Ups:
    • Re: CGContextSetRGBFillColor() off by one?
      • From: Uli Kusterer <email@hidden>
    • Re: CGContextSetRGBFillColor() off by one?
      • From: "Ken Ferry" <email@hidden>
References: 
 >CGContextSetRGBFillColor() off by one? (From: Mike Manzano <email@hidden>)
 >Re: CGContextSetRGBFillColor() off by one? (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: CoreAnimation and Filters
  • Next by Date: Re: newbie question: menu item appears when app runs, but is not visible in NIB
  • Previous by thread: Re: CGContextSetRGBFillColor() off by one?
  • Next by thread: Re: CGContextSetRGBFillColor() off by one?
  • Index(es):
    • Date
    • Thread