-
... esh_(true); wt0view.drawFunc = {nil}; wt0view.refresh; wt0view.drawFunc_({ Pen.strokeColor_(Color.gray(0.2)); Pen.width_(2); Pen.line(192@0, 192@384); Pen.line(0@192,384@192); Pen.stroke; Pen.strokeColor_(Color.gray(0.35)); ...
-
... nsFace, 9 ) ); bnds.width = bnds.width + 4; scaleAmt = 1/this.scaleAmt.asArray; Pen.width = this.pixelScale.x / 2; Pen.color = Color.gray.alpha_(0.25); if( viewRect.width < (this.view.bounds.width/4) ) { width.do({ |i| Pen.line( (i + left) ...
-
... tArray); labelX = ~labelX; // huh ? in the skin ? labelY = ~labelY; }; } draw { Pen.addRect(bounds); Pen.fillColor = Color.white; Pen.fill; if(gridOnX) { this.drawGridX; this.drawNumbersX; }; if(gridOnY) { this.drawGridY; this.drawNumbersY; ...
-
... nsFace, 9 ) ); bnds.width = bnds.width + 4; scaleAmt = 1/this.scaleAmt.asArray; Pen.width = this.pixelScale.x / 2; Pen.color = Color.gray.alpha_(0.25); widthDivide = (width / 100).max(1).nextPowerOfTwo.asInteger; if( viewRect.width < (this. ...
-
... 0.5).neg @ 0, 0 @ (radius * 0.5), (radius * 0.5) @ 0, 0 @(radius * 0.5).neg ]; Pen.strokeColor = strokeColor; Pen.smoothing = true; Pen.translate(this.bounds.width * 0.5, this.bounds.height * 0.5); Pen.width = widthLine; // draw plus Pen.l ...
-
... aySymbolSize - (super.outlineSize * 4), 0 ); if(thisDisplaySymbol == \circle) { Pen.fillColor_(super.backgroundColor); Pen.strokeColor_(super.outlineColor); Pen.width_(super.outlineSize); Pen.addArc( Point( this.bounds.width / 2, this.bound ...
-
... alpha * this.alpha); }; } } + Gradient { fill { |rect| if( direction == \h ) { ^Pen.fillAxialGradient( rect.left@rect.center.y, rect.right@rect.center.y, color1, color2 ); } { ^Pen.fillAxialGradient( rect.center.x@rect.top, rect.center.x@re ...
-
... * 0.5), (radius * 0.5) @ (radius * 0.5), (radius * 0.5) @ (radius * 0.5).neg ]; Pen.smoothing = true; Pen.strokeColor = strokeColor; Pen.translate(this.bounds.width * 0.5, this.bounds.height * 0.5); Pen.width = widthLine; // draw cross. Pen ...
-
... e float value like a CC or spline */ SynthiX { var <>outlets, <>inlets; var uv, pen; var <>labelSize = 100, <>on, <>off, <>cant, <>font, bigFont; var black, blue, faint, background; var gridRect, width, height; var ins, outs; var <updateRat ...
-
... ont; (startGeneration-1).do{lsys.next}; commands= ( $F: {|length, theta, noise| Pen.line(Point(0, 0), Point(0, length)); Pen.stroke; Pen.translate(0, length); {Pen.translate(0, 0-length)}; }, $G: {|length, theta, noise| Pen.translate(0, len ...