Re: Drawing a graph & testing ranges

2009-09-15 Thread Henry McGilton (Boulevardier)
On Sep 15, 2009, at 5:20 AM, Graham Cox wrote: On 15/09/2009, at 10:07 PM, Mark Bateman wrote: if I have a value of x= 10,000 y = 211.2 and an envelope of 9500, 200: 13000, 211: 14000,214: 9500,214 can i use NS range to check if the original coordinates are inside the bou

Re: Drawing a graph & testing ranges

2009-09-15 Thread Graham Cox
On 15/09/2009, at 10:07 PM, Mark Bateman wrote: if I have a value of x= 10,000 y = 211.2 and an envelope of 9500, 200: 13000, 211: 14000,214: 9500,214 can i use NS range to check if the original coordinates are inside the bounds of that rectangle... if not any ideas how i

Drawing a graph & testing ranges

2009-09-15 Thread Mark Bateman
Hi, I have a completed app that calculates graph points x and y coordinates. I want to present these on a graph that has an acceptable "envelope" of coordinates. I'm guessing that i need to learn how to use quartz to draw lines pixel by pixel to represent this on a UIview. is there any

Drawing a graph & testing ranges

2009-08-29 Thread Mark Bateman
Hi, I have a completed app that calculates graph points x and y coordinates. I want to present these on a graph that has an acceptable "envelope" of coordinates. I'm guessing that i need to learn how to use quartz to draw lines pixel by pixel to represent this on a UIview. is there any