-
... 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; ...
-
... 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 ...
-
... 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 ...
-
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 ...
-
... 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, ...
-
... 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 ...
-
... 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 ...
-
... 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" ...
-
... 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, ...
-
... 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 ...