Re: NSBezierPath geometry question...
Re: NSBezierPath geometry question...
- Subject: Re: NSBezierPath geometry question...
- From: Keith Blount <email@hidden>
- Date: Mon, 11 Apr 2005 12:19:25 -0700 (PDT)
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
Many thanks for all the replies, much appreciated,
especially to Heinrich and Serge for the code
suggestions.
Unfortunately, the discussion on cubic and quadratic
polynomials is going right over the top of my head...
To try and clarify what I am trying to achieve, I
would be grateful if anyone with the time or interest
could take a look at this picture:
http://www.rumramruf.com/bezierPic.tiff
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.
Given that this is what I am trying to achieve from a
rectArray generated by NSLayoutManager's
rectArrayForCharacterRange:..., I would be very
grateful if anybody could tell me what I am doing
wrong in the code I posted, or suggest a better way
altogether of doing it if there is one.
Many thanks again for all the help,
Keith
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden