• 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
Re: Bezier drawing tool suggestions?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bezier drawing tool suggestions?


  • Subject: Re: Bezier drawing tool suggestions?
  • From: Greg Titus <email@hidden>
  • Date: Sat, 4 Mar 2006 22:09:19 -0800


On Mar 4, 2006, at 9:19 PM, John C. Randolph wrote:


On Mar 4, 2006, at 8:04 PM, Scott Thompson wrote:

1) Create a class to represent a bezier curve. The class represents the curve as point triples. Each triple represents a "left-side" control point, an on-curve point, and a right-side control point. The class also has to deal with things like "isClosed" (though if your shapes are always closed... that could simplify things a bit.

You need four points to define a Bezier cubic spline. What kind of curve are you describing?

I'm not Scott, but presumably:

The fourth point to define the cubic spline is the on-curve point for the previous triple (or next triple, if you want to write the code that way). If the shape isn't closed you'll also need a single start point (or end point) in addition to the triples.

	- Greg


_______________________________________________ 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
References: 
 >Bezier drawing tool suggestions? (From: Dave Hersey <email@hidden>)
 >Re: Bezier drawing tool suggestions? (From: Scott Thompson <email@hidden>)
 >Re: Bezier drawing tool suggestions? (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Re: Bezier drawing tool suggestions?
  • Next by Date: Re: NSTableView and background color
  • Previous by thread: Re: Bezier drawing tool suggestions?
  • Next by thread: Re: Bezier drawing tool suggestions?
  • Index(es):
    • Date
    • Thread