• 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
Bugs in NSColor and NSImage in Leopard?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bugs in NSColor and NSImage in Leopard?


  • Subject: Bugs in NSColor and NSImage in Leopard?
  • From: Stéphane Sudre <email@hidden>
  • Date: Mon, 11 Feb 2008 21:48:16 +0100

I'm seeing different results for some drawing routines depending on the OS version I'm testing them against.

* Problem #1:

I used a pattern for the color of a NSAttributedString through [NSColor colorWithPatternImage:];

On 10.4, when the window is resized, the pattern offset is not changed inside the text.

On 10.5, when the window is resized, the pattern offset is changed inside the text.

Isn't this both a bug and regression?

* Problem #2:

I'm seeing different results for some image compositions:

I have 2 images:

Image A is a stripped pattern (a bit like the one you could find in MacPaint)

Image B is the official picture used to draw a checkbox.

On 10.4, if I run the following composition, the results is fine:

  - Create empty picture

  - Composite stripped pattern with NSCompositeSourceOver

  - Composite checkbox with NSCompositeSourceIn

On 10.5, if I run the same composition, the borders of the checkbox displays parts of the patterns.

The checkbox picture may have changed but I don't see how it could affect this composition.



_______________________________________________

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


  • Prev by Date: Re: @property problem
  • Next by Date: Re: @property problem
  • Previous by thread: Re: @property problem
  • Next by thread: Challenging text editing field problem
  • Index(es):
    • Date
    • Thread