On 18/02/2013, at 6:46 PM, iain wrote:
> I'm trying to draw a sample waveform so for some of the audio files I have
> which come in around 30minutes long, even drawing to a reduction of 8192
> frames/pixel you're looking at views of 10,000pixels wide (at 44100hz).
> Drawing 1frame per pixel woul
>
>
> > On Mon, Feb 18, 2013 at 7:17 PM, Kyle Sluder wrote:
>
> Right, but you're missing the crucial step of caching this drawing.
>
>
You're right, I did miss that, but you'd missed where I'd said I couldn't
cache the whole drawing, because it might be 60,000,000 pixels wide.
However, you did s
Resending to the list.
On Feb 18, 2013, at 2:50 AM, iain wrote:
>
>
> On Mon, Feb 18, 2013 at 7:17 PM, Kyle Sluder wrote:
>> On Sun, Feb 17, 2013, at 11:46 PM, iain wrote:
>> > I'll give this a go, does -setFrameSize just deal with the visible
>> > portion
>> > when inside an NSScrollView/NSC
On Sun, Feb 17, 2013, at 11:46 PM, iain wrote:
> I'll give this a go, does -setFrameSize just deal with the visible
> portion
> when inside an NSScrollView/NSClipView? If so, thank you, that's great.
No. You're missing my point.
You have -viewWillDraw, an override point at which you know your vie
On Mon, Feb 18, 2013 at 6:07 PM, Kyle Sluder wrote:
> On Sun, Feb 17, 2013, at 05:12 PM, iain wrote:
> >
> > Does anyone have any hints of something I may have missed, or something
> > I'm
> > going about the wrong way?
>
> Unless there's something you haven't told us, you shouldn't need to keep
On Sun, Feb 17, 2013, at 05:12 PM, iain wrote:
>
> Does anyone have any hints of something I may have missed, or something
> I'm
> going about the wrong way?
Unless there's something you haven't told us, you shouldn't need to keep
track of your visible rect at all.
It sounds like you're trying t
Hello,
I have a very wide view which is placed inside an NSScrollView using
Autolayouts. The view's horizontal intrinsic width is the width of the
view, and the intrinsic height is NSViewNoIntrinsicMetric because I want it
to be whatever height the parent gives it. To do this, I've set the
constra