« Return to Thread: SCEnvelopeView class and doc fixes

Re: SCEnvelopeView class and doc fixes

by blackrain-2 :: Rate this Message:

Reply to Author | View in Thread

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?

cheers,

x

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/

 « Return to Thread: SCEnvelopeView class and doc fixes