Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... Func({arg uview; var value_string = v.value.round(0.01).asString; var string_x; Pen.font = Font("Helvetica",11); string_x= (v.value*300).clip(4, 300-26); Pen.color = Color.white.alpha_(0.7); Pen.addRect(Rect(string_x-1,1,26,12)); Pen.fill; ...

  2. WFSRectView Quark

    ... le = 1| var points; var selectColor = Color.yellow; scale = scale.asArray.mean; Pen.use({ Pen.width = 0.164; Pen.color = Color.red(0.5, 0.5); //// draw configuration (WFSSpeakerConf.default ?? { WFSSpeakerConf.rect(48,48,5,5); }).draw; // d ...

  3. RoundNumberBox Quark

    ... height/4).min( rect.width/2 ) }; /* if( this.hasFocus ) // rounded focus rect { Pen.use({ Pen.color = focusColor ?? { Color.gray(0.2).alpha_(0.8) }; Pen.width = 2; Pen.roundedRect( rect.insetBy(-2,-2), radius + 1 ); Pen.stroke; }); }; */ if ...

  4. QPenPrinter Doc

    QPenPrinter: Filter: Description Class methods new print Inherited class methods Instance methods Printing showDialog print newPage Properties paperRect pageRect pageSize Page range fromPage toPage Inherited instance methods Undocumented in ...

  5. MultiPlot Quark

    ... rect = w.view.bounds.insetBy(10,10); if( background.notNil ) { background.set; Pen.fillRect( rect ); }; Color.black.alpha_(0.5).set; Pen.strokeRect( rect ); this.inRect( arrays, rect, colors, hLinesAt, vLinesAt, linesAlpha, discrete, min, ...

  6. UserView Doc

    ... GUI > Views'>Views UserView : View : QObject : Object A custom drawn view using Pen Source: QUserView.sc Subclasses: QUserView See also: Pen Description An empty view on which you can draw using the Pen class. This view displays and does no ...

  7. extStenoPlot Quark

    ... prevNodes[in]; curNode = Point(out + 1, i + 1) * mul; prevNodes[out] = curNode; Pen.color = Color.white; Pen.moveTo(curNode); Pen.addOval(Rect.aboutPoint(curNode, nodeSize, nodeSize)); Pen.moveTo(curNode); if(name != '?') { Pen.stringAtPoin ...

  8. CircleRamp Doc

    ... cus = false; c.drawFunc = { Color.grey(0.8).set; // draw the speaker layout GUI.pen.translate(200,200); ((actPoint.theta + (0.5pi)).wrap2(pi) * rtoang).round(0.01).asString.drawCenteredIn(Rect.aboutPoint(0@170, 30, 10), GUI.font.new("Arial" ...

  9. SETO_GUIObj Quark

    ... in_(true) obj.clearOnRefresh_(true); this.updateBounds; obj.drawFunc_({|me| GUI.pen.use{ setObj.isEuler.if({ // GUI.pen.color = Color.hsv(setObj.rotEuler[0]*2pi.reciprocal % 1, 0.43, 0.87); GUI.pen.color = Color.hsv(setObj.classID+1 * 0.2, ...

  10. GMKeyboard Quark

    ... imerColor( blinkTimer, thisBlackKeyColor, thisBlinkColor, highlight ); }; }; }; Pen.moveTo( aRect.leftTop + Point(outlineSize / 2, outlineSize / 2); ); Pen.lineTo( aRect.rightTop + Point((outlineSize / 2).neg, outlineSize / 2); ); Pen.lineT ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow