Re: How to trim a bezier path?
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