Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (738) Code (47) Doc (133) Help (42) Quark (516) SCDoc ↗ Forum ↗ Google ↗
  1. resize Help

    ... (0, 0, 40, 40)) .background_( Color .rand.alpha_(0.8)) .resize_(i) .string_(i) .font_( Font ( "Helvetica" , 26)); p= PopUpMenu (y,40@40).items_((1..9).collect( _ .asString)).value_(i-1).resize_(i) .action_{ |m| t.string_((m.value+1).asStrin ...

  2. Show All Undocumented Classes Help

    ... p/help-scripts/tab-template.rtf"); //doc.title = "Undocumented Classes"; doc.setFont( Font ( "Helvetica" , 12)); doc.string = result; doc.setFont( Font ( "Helvetica-Bold" , 18), 0, titleString.size); doc.selectRange(documentedIndex, documen ...

  3. Document Help

    ... , Document .current.selectedRangeLocation+12, 18); ) // Watch me change content font_ (font, rangestart, rangesize) Gets/sets the font within a certain range. font - An instance of Font . rangestart - An integer. Default value is -1. If ran ...

  4. GUI-Classes Help

    ... GUI Description Dialog CocoaDialog SwingDialog file selection dialog management Font SCFont JFont a font typeface description. Pen SCPen JPen custom drawing operations class MouseX MouseX JMouseX UGen. JMouseX for backward compatiblility on ...

  5. Routine Help

    ... .black, Color .red]]; but.refresh; }; b = SCButton (w, Rect (10,10,360,40)); b.font_( Font ( "Impact" , 24)); update.value(b, "there is only one state" ); // if an action should do something different each time it is called, a routine is t ...

  6. EZNumber Help

    ... view. background - An instance of Color . The backround of the enclosing view. font_(font) Set the Font used by all the views. font - An instance of Font . Examples // Simplest version ( // basic use w= Window .new.front; g= EZNumber (w, 1 ...

  7. SCImage Help

    ... ); ) // String drawing support on the image // drawStringAtPoint(string, point, font, color); ( j = SCImage .new(150,50); j.draw({ arg bounds; j.drawStringAtPoint( "Hello, world!" , 10@10, Font ( "Lucida Grande" , 24), Color .black); }); ) ...

  8. SCPen Help

    ... or .blue; Pen .width = 0.1; Pen .line(a, c); Pen .line(b, d); Pen .stroke; Pen .font = Font ( "Helvetica-Bold" , 12 ); Pen .stringAtPoint( "A" , a - 6 ); Pen .stringAtPoint( "B" , b - 6 ); Pen .stringAtPoint( "C" , c - (0@6) ); Pen .stringA ...

  9. SCQuartzComposerView Help

    ... s and setters m.setInputValue( \direction , 1); m.direction = 0; m.direction; m.fontSize; // font size in QC Units m.fontSize_(0.1); m.string_( "SCTV" ).fontName_( "Courier" ); m.startColor_( Color .green); m.billboardEnable_( false ); m.bi ...

  10. PG_Cookbook03_External_Control Help

    ... window, Rect (5, 5, 140, 90)) .states_([[ "Pattern GO" ], [ "Pattern STOP" ]]) .font_( Font .new( "Helvetica" , 18)) .action_({ |button| if(button.value == 1 and: { player.isNil or: { player.isPlaying.not } }) { player = pattern.play; } { p ...

prev 1 2 3 4 5 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow