Skip navigation.
 
mlRe: NSBezierPath geometry question...
FROM : Keith Blount
DATE : Tue Apr 12 18:08:27 2005

Many thanks for your reply, much appreciated. Is this
something I am doing wrong in the calculation of my
radius, or the placing of the corners (or something
entirely)?

This still has me stumped on how to correct it... If
anyone knows of a remedy, I would be very grateful.

Many thanks again,
Keith

--- Nicko van Someren <<email_removed>> wrote:
> 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
>
>



       
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/

Related mailsAuthorDate
mlNSBezierPath geometry question... Keith Blount Apr 10, 23:40
mlRe: NSBezierPath geometry question... Serge Meynard Apr 11, 00:37
mlRe: NSBezierPath geometry question... Robert Clair Apr 11, 13:01
mlRe: NSBezierPath geometry question... Keith Blount Apr 11, 13:17
mlRe: NSBezierPath geometry question... Serge Meynard Apr 11, 16:02
mlRe: NSBezierPath geometry question... Nicko van Someren Apr 11, 17:48
mlRe: NSBezierPath geometry question... Serge Meynard Apr 11, 18:41
mlRe: NSBezierPath geometry question... David Phillip Oste… Apr 11, 18:46
mlRe: NSBezierPath geometry question... Nicko van Someren Apr 11, 19:48
mlRe: NSBezierPath geometry question... Heinrich Giesen Apr 11, 20:49
mlRe: NSBezierPath geometry question... Robert Clair Apr 11, 21:02
mlRe: NSBezierPath geometry question... Keith Blount Apr 11, 21:19
mlRe: NSBezierPath geometry question... Scott Thompson Apr 11, 23:25
mlRe: NSBezierPath geometry question... Robert Clair Apr 11, 23:54
mlRe: NSBezierPath geometry question... Keith Blount Apr 12, 00:24
mlRe: NSBezierPath geometry question... Nicko van Someren Apr 12, 10:04
mlRe: NSBezierPath geometry question... Keith Blount Apr 12, 18:08
mlRe: NSBezierPath geometry question... Jonathon Mah Apr 13, 17:11