Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    SCPen draw on a SCWindow Inherits from: Object A class which allows you to draw on a SCWindow . It has no instance methods. The following methods must be called within an SCWindow-drawHook or a SCUserView-drawFunc function, and will only be ...

  2. SCUserView Help

    ... bject : SCView SCUserView is a user-definable View intended mainly for use with Pen and drawHooks. It is also good for making custom buttons or other gui interfaces and displays. Thus anything you can draw with the methods of Pen , combined ...

  3. SCUserViewTutorial Help

    ... SCUserView this.drawFunc={ this.draw}; } // (4) define a drawing function for SCPen draw{ // Draw the fill SCPen.fillColor = Color.grey; Pen.addRect(Rect(0,0, this.bounds.width*value,this.bounds.height)); Pen.fill; // Draw the triangle SCPe ...

  4. Pen Help

    Pen a cross-platform redirector for a GUI widget Inherits from: Object : ViewRedirect This class will return the gui kit specific version of a Pen. See also: GUI , GUI-Classes , GUI-Overview Examples and Documentation: For examples and plat ...

  5. 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 ...

  6. SCScrollView Help

    ... Point((i+1 * 20)@0, Font ( "Courier" , 9), Color .black); }); }; d.drawFunc = { Pen .use({ Pen .translate(0, 5); drawFunc.value; }); Pen .translate(15, 0).rotate(0.5pi); drawFunc.value; }; e.drawFunc = { Pen .translate(40, 0).rotate(0.5pi); ...

  7. Complex Help

    ... Hook = { n.do { |x| n.do { |y| var z = field[x][y]; z = f.(z); field[x][y] = z; Pen .color = Color .gray(z.rho.linlin(-100, 100, 1, 0)); Pen .addRect( Rect (x * dx, y * dy, dx, dy) ); Pen .fill } } }; fork({ 6.do { w.refresh; 2.wait } }, Ap ...

  8. SCLevelIndicator Help

    ... ge .new(20,20); j.draw({ arg image; var lozenge; lozenge = Rect (3, 3, 16, 16); Pen .addOval(lozenge); Pen .fillAxialGradient(1@1, 19@19, Color .new255(255, 165, 0), Color .new255(238, 232, 170)); Pen .width = 1; Pen .strokeColor = Color .b ...

  9. String Help

    ... t is a Char . "ABCDEFG" .at(2).postln; compare(aString) Returns a -1, 0, or 1 depending on whether the receiver should be sorted before the argument, is equal to the argument or should be sorted after the argument. This is a case sensitive ...

  10. SCWindow Help

    ... in which to host SCView , SCWindow is also a canvas on which you can draw using Pen. See the SCPen file for many examples. For modal versions of SCWindow see SCModalWindow and SCModalSheet . See also: SCView , GUI , SCScrollTopView , SCPen ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow