• 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: How to trim a bezier path?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to trim a bezier path?


  • Subject: Re: How to trim a bezier path?
  • From: Scott Thompson <email@hidden>
  • Date: Wed, 7 Dec 2005 08:17:10 -0600


On Dec 7, 2005, at 7:26 AM, Jim Marschke wrote:

I have a small app which collects temperature data and graphs it over time. As I collect new data, I append it to an existing path. If I run this app for many days the bezier path gets large and eats up a lot of memory. What I want to do is set a limit of how much data I display (maybe a day or two) and once I reach that begin removing points from the beginning of the path as I add points to the end of it.

Is there a simple way to do this?

Instead of storing your data inside the path, store the data in your own storage area and generate the path from the last few points of that storage area.

Scott

_______________________________________________
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
  • Follow-Ups:
    • Re: How to trim a bezier path?
      • From: Jim Marschke <email@hidden>
References: 
 >How to trim a bezier path? (From: Jim Marschke <email@hidden>)

  • Prev by Date: How to trim a bezier path?
  • Next by Date: Bundle Reloading
  • Previous by thread: How to trim a bezier path?
  • Next by thread: Re: How to trim a bezier path?
  • Index(es):
    • Date
    • Thread