-
... his.free; }; thisSVGPath = aPath; thisIMG = Image.openSVG(aPath); thisSVGSize = Point( thisIMG.width, thisIMG.height ); this.prResizeSVG; } svgRatio { ^thisSVGRatio } svgRatio_ { |aFloat| thisSVGRatio = aFloat; this.refresh; } free { if(thi ...
-
... ain is started, or in a UPattern for each of the generated events. a: the start point b: the end point curve: a curve value (x,y) for the line. A 0 (zero) curve creates a linear line, a positive curve value makes the line tend towards the l ...
-
... /////////////////// WFSRectView : WFSBasicEditView { defaultObject { ^Rect.aboutPoint( 0@0, 5, 5 ) } mouseEditSelected { |newPoint, mod| var pt; // returns true if changed if( mod.isKindOf( ModKey ).not ) { mod = ModKey( mod ? 0); }; switch ...
-
... an arrow *arrow { arg start, end, width = 5, arrowAngle = 0.5pi; var angle, leftPoint, rightPoint; angle = (start - end).theta; leftPoint = Polar( width, angle - ( arrowAngle/2 ) ).asPoint + end; rightPoint = Polar( width, angle + ( arrowAn ...
-
... circular speaker setups. bus: the channels are sent out starting with this bus. point: the position of the source (0@0: center, positive x is left, positive y is front) dbRollOff: number of dB's amplitude rolloff per distance doubling speak ...
-
... circular speaker setups. bus: the channels are sent out starting with this bus. point: the position of the source (0@0: center, positive x is left, positive y is front) dbRollOff: number of dB's amplitude rolloff per distance doubling speak ...
-
... caleY = height * (0.5 - scale), scaleX; Pen.color_(Color.gray(0.7)) .moveTo(Point(0, scaleY)).lineTo(Point(width, scaleY)) .moveTo(Point(0, height - scaleY)).lineTo(Point(width, height - scaleY)) .moveTo(Point(0, height * 0.5)).line ...
-
... x, y lineTo l x, y curveTo c x1, y1, x2, y2, x, y (x1,y1,x2,y2 are the control points) arc a rx, ry, xAxisRotation, largeArcFlag, sweepFlag, x, y vLineTo h y hLineTo v x qCurveTo q x1, y1, x, y sCurveTo s x2, y2, x, y sQCurveTo t x, y clos ...
-
... r.value, super.min, super.max, super.scale, super.expMin ); }; symbolPosition = Point( super.interactionRect.left + symbolPosition, super.bounds.height / 2 ); } { if(super.polarity == \uni) { symbolPosition = super.getYValueMapping( super.v ...
-
... resize| var view, vws, stp, labelWidth; var subViewHeight, subViewWidth; var getPoint; var angle = 0, angleCtrl, direction, currentUnit; vws = (); vws[ \val ] = default.copy; view = EZCompositeView( parent, bounds, true, 4@4 ); vws[ \view ] ...