Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (764) Code (64) Doc (175) Help (16) Quark (509) SCDoc ↗ Forum ↗ Google ↗
  1. JITView Quark

    ... dict[\hiRect] = dict[\bounds00].copy .width_(dict[\width] * 0.5); } drawLabel { Pen.stringLeftJustIn( dict[\label], dict[\boundsLabel], dict[\font], dict[\labelCol] ); } adjustFont { |str, font, rect| var drawSize = QtGUI.stringBounds(str, ...

  2. MxChannelInput Quark

    ... inlets, outlets); }, save: { [] }, load: { MxChannelInput.new } /*, draw: { arg pen, bounds, style; ~source.draw(pen, bounds, style) } */ ));

  3. EnvView Quark

    ... Nil ) { curves = env.curves.asCollection.wrapExtend(env.times.size); if( Env.shapeNumber( curves[selectedLine] ) == 1 ) { curves[selectedLine] = 0; }; if( curves[selectedLine].isNumber ) { if( pts[selectedLine].y > (pts[selectedLine+1].y) ) ...

  4. MenuAction Doc

    ... e. Arguments: string A label for the separator. These are not always visible, depending on your OS and context. Inherited class methods Undocumented class methods MenuAction. qtClass Instance Methods . string . string = str From superclass: ...

  5. Scribble Squiggle by 56228375 (56228375) Code

    ... ue); q.drawFunc_({ ~allPoints.do({ |pos, index| if ((index > 0), { Pen.fillColor = "000000"; Pen.line( Point(~allPoints[index-1][0], ~allPoints[index-1][1]), Point(pos[0], pos[1])); Pen.stroke; }); }); }); ) / ...

  6. XiiQuanoon Quark

    ... w(win, Rect(10,10,280, 680)) .canFocus_(false) .drawFunc_({ if(GUI.id==\cocoa, {Pen.setShadow(1@1, 5, Color.black) }); GUI.pen.translate(0.5,0.5); 8.do({|i| GUI.pen.line(Point(30+(i*30), 10), Point(30+(i*30), 670)) }); // strings 6.do({|i| ...

  7. ParaSpace Quark

    ... r_(Color) - The background color of the view. setBackgrDrawFunc_(func) - Allows Pen to draw behind the nodes and connections. setSelectFillColor_(Color) - The color of the rect when selecting nodes. setSelectStrokeColor_(Color) - The stroke ...

  8. UScoreEditorGUI_TranportBar Quark

    ... var radius = size/6; var corners = [ -1 @ 0, -1 @ -2, 1 @ -2, 1 @ 0 ] * radius; Pen.use({ Pen.translate( *rect.center.asArray ); Pen.fillRect( Rect( size.neg * 0.25,0, size / 2, size / 3 ) ); 2.do({ Pen.moveTo( corners[0] ) .arcTo( corners[ ...

  9. sGliss Quark

    ... SGUI.report(win); SGUI.adapt(win); backgroundImage= Image(500, 500).draw({|img| Pen.width= 0.25; Pen.strokeColor= palette.highlight; 60.do{ Pen.moveTo(Point(25.gauss(25), 25.gauss(25)+img.height)); Pen.curveTo( Point(25.gauss(25)+img.width, ...

  10. GUI-Overview Help

    ... i kits, and also provides syntax for transparently writing kit and platform independent code. Two main classes control this mechnanism: the gui factory abstraction class, GUI , and the subclasses of ViewRedirect , which transparently uses t ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow