-
... layout could easily be swapped // and this would hide the error by treating the point/rect as a layout + Point { asPageLayout { ^PageLayout("", this.asRect ).front } } + Rect { asPageLayout { ^PageLayout("", this ).front } } + Instr { // th ...
-
... eShape= #[-0.2, 0.2], cogInsideShape= #[-0.1, 0.1], offset= 0| var cogs= [ Point(1, cogOutsideShape[0])*outer, Point(1, cogOutsideShape[1])*outer, Point(1, cogInsideShape[0])*inner, Point(1, cogInsideShape[1])*inner ]*radius ...
-
... ess asked ^new } findRightBottom { // a containerview can find the lowest-right point occupied by var bottom; // an actual displaying view (slider, button, etc) // this is different from SCContainerView-findRightBottom because // the right ...
-
... ess asked ^new } findRightBottom { // a containerview can find the lowest-right point occupied by var bottom; // an actual displaying view (slider, button, etc) // this is different from SCContainerView-findRightBottom because // the right ...
-
... Draw.width*0.5 ).min( rectToDraw.height*0.5 ); Pen.moveTo(rectToDraw.rightTop - Point(rectToDraw.width*0.5,0)); Pen.arcTo(rectToDraw.rightTop,rectToDraw.rightBottom,radius); Pen.lineTo(rectToDraw.rightBottom); Pen.lineTo(rectToDraw.leftBott ...
-
... Draw.width*0.5 ).min( rectToDraw.height*0.5 ); Pen.moveTo(rectToDraw.rightTop - Point(rectToDraw.width*0.5,0)); Pen.arcTo(rectToDraw.rightTop,rectToDraw.rightBottom,radius); Pen.lineTo(rectToDraw.rightBottom); Pen.lineTo(rectToDraw.leftBott ...
-
... trary object into its JSON representation. To introduce a custom encoding (e.g. Point or Function ) simply provide a function which accepts the object as a first argument and return a non- nil value if it a custom representation should be u ...
-
... set;\ Pen .fillRect( Rect (pad/2, 0, i_width, i_width));\ /*Pen.addAnnularWedge(Point(*((pad+i_width)/2)!2), i_width*0.47, i_width*0.5, pi, pi);\ Pen.addAnnularWedge(Point(*((pad+i_width)/2)!2), 0, i_width*0.35, pi, pi);\ Pen.fill;\ */ \ Pe ...
-
... Class methods new Inherited class methods Instance methods refresh x init y rho point hatval polar angle value uview Inherited instance methods Examples Classes (extension) | GUI StickView Extension a view for joystick thumbsticks Location: ...
-
... gui { arg bounds = Rect(50, 320, 300, 300); var zplane, drawzplane, dragcorner, point, index, inRange = false; drawzplane = { arg me; var dimH = me.bounds.height, dimW = me.bounds.width, it = 6; Pen.use { //Draw the grid GUI.pen.width = 0.5 ...