On 24 Apr 2009, at 10:26, blackrain wrote:
> On Fri, Apr 24, 2009 at 4:20 AM, Scott Wilson <s.d.wilson.
>
1@...> wrote:
>> Okay fixed I think:
>> while(xgridpos < maxwidth && (xgrid != 0.0))
>> {
>> drawRect = CGRectMake(xgridpos,
>> bounds.y + 1.f,
>> 1.f,
>> bounds.height-2.f);
>> CGContextFillRect (cgc, drawRect);
>> xgridpos += xgrid;
>> }
>>
>> while(ygridpos < maxheight && (ygrid != 0.0))
>> {
>> drawRect = CGRectMake(bounds.x+1.f,
>> ygridpos,
>> bounds.width-2.f,
>> 1.f);
>> CGContextFillRect (cgc, drawRect);
>> ygridpos += ygrid;
>> }
>>
>> Now you can say b.grid =
0.0@... for only horizontal, etc.
>> On a related track, gridColor in SCScope seems to do nothing. This
>> should at
>> least be removed from the help file, or?
>> Also setting gridResolution to 0.0 on an SCSoundfile causes a crash
>> as well.
>> S.
>>
>
> I would say yes about the grid colour, mean time that is.
> I wasnt aware of the SCSoundfile issue tho
>
> I'd say cut? at least till there is a true implementation?
It's not used as far as I can see anywhere in SCScope's draw method.
So I suppose it's something half done. Maybe just remove from the help
file so somebody can finish later?
S.
_______________________________________________
sc-dev mailing list
info (subscription, etc.):
http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtmlarchive:
http://www.listarc.bham.ac.uk/marchives/sc-dev/search:
http://www.listarc.bham.ac.uk/lists/sc-dev/search/