FROM : Stéphane Sudre
DATE : Mon Feb 11 21:48:16 2008
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.
DATE : Mon Feb 11 21:48:16 2008
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.
| Related mails | Author | Date |
|---|---|---|
| No related mails found. | ||






Cocoa mail archive

