FROM : Nicko van Someren
DATE : Tue Apr 12 10:04:36 2005
On 11 Apr 2005, at 20:19, Keith Blount wrote:
> The text view subclass in this picture uses the code I
> posted earlier in drawViewBackgroundInRect: to create
> the bezier path selections. It may be hard to make out
> in the picture, but the top-right corners have turned
> out more rounded than the bottom corners, and I'm not
> sure why. There are also other minor drawing glitches.
No pun intended, but it looks to me like the artefacts are to do with
rounding errors. The pixilation of curves can differ depending on
exactly where the curves start and end relative to pixel boundaries.
Nicko
DATE : Tue Apr 12 10:04:36 2005
On 11 Apr 2005, at 20:19, Keith Blount wrote:
> The text view subclass in this picture uses the code I
> posted earlier in drawViewBackgroundInRect: to create
> the bezier path selections. It may be hard to make out
> in the picture, but the top-right corners have turned
> out more rounded than the bottom corners, and I'm not
> sure why. There are also other minor drawing glitches.
No pun intended, but it looks to me like the artefacts are to do with
rounding errors. The pixilation of curves can differ depending on
exactly where the curves start and end relative to pixel boundaries.
Nicko






Cocoa mail archive

