-
... b, c| a and: b xor: c }.truthTable truthTable { var numArgs = this.def.argNames.size; var res = "", fstr = "%\t".dup(numArgs + 1).join ++ "\n"; [true, false].dup(numArgs).allTuples.do { |tup| tup = tup ++ this.(*tup); tup = tup.collect( if( ...
-
... ring ++ "".extend( indent, $\t ) ++ penClass ++ "." ++ cmd[0] ++ ( if( cmd[1..].size > 0 ) { "( " ++ cmd[1..].collect(_.asShortCS ).join( ", " ) ++ " );\n" } { ";\n" }); if( [\fill, \stroke, \clip].includes( cmd[0] ) ) { outstring = outstri ...
-
... ndex var index, splitedName = n.name.split($.); index = splitedName[splitedName.size - 1].asInteger; // returns 0 if no index is found if ((index == 0)) { name = n.name ++ ".1"; } { splitedName.removeAt(splitedName.size - 1); name = splited ...
-
... al application : // dict[key=>value, ... ] or [ args1, nil, arg3 , ...] if(args.size == 1 and: { args.first.isKindOf(Dictionary) }, { args = args.first }); ^PappliedInstr(this, args) } // set the directory where your library of Instr is to ...
-
... URL, bad or nonexistant url may lead also to unknown behaviour. Image.newClear (size) - new empty Image with an initial size of size size might be a Rect (it will take only the with and height values) or a Size or a Point (wich allows you t ...
-
... ted class methods Instance methods commons / general attributes width height setSize bounds free scalesWhenResized url accelerated interpolation saving and archiving write rendering plot lockFocus unlockFocus draw drawStringAtPoint drawAtPo ...
-
... . Please see its helpfile for more information. Setting the Internal Bounds The size of the contained 'canvas' is determined by the bounds of the views which it encloses. Resize settings are thus ignored for contained views. To set it to a ...
-
... ass === Int8Array, { if (type === \snippet, { var chars = Array.fill(inlineData.size, { |i| inlineData[i].asAscii }); inlineData = String.newFrom(chars); }); }); } }
-
... a generally decent balance. The onset detector requires two buffers of the same size ( fftbuf and trackbuf ) to be passed in. It uses them internally for its FFT-based processing. Recommended size for these buffers is 512, although you may ...
-
... ton : GMUserView { var thisString = ""; var thisFontRatio = 0.8; var thisMaxFontSize = 64; var thisOrientation = \right; var thisSVG; var thisSVGPath = ""; var thisSVGRatio = 0.8; var thisSVGSize; *new { ^super.new.init; } init { super.init ...