Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    // wslib 2006 // set all fonts of a SCWindow at once + SCWindow { setFont { |font| font = (font ? Font.default) ? Font( "Helvetica", 12); view.children.do({|view| if( view.respondsTo( \font_ ) ) { view.font_( font ) }; if( view.respondsTo( ...

  2. Font Doc

    Font: Filter: Description Class methods new availableFonts antiAliasing smoothing defaultSansFace defaultSerifFace defaultMonoFace default setDefault sansSerif monospace serif available Inherited class methods Undocumented class methods prD ...

  3. SCFont Help

    SCFont a font object Inherits from: Object This is the object you pass to other gui objects to set their font name or size. Creation / Class Methods *new (name, size) name - An instance of String. Must coincide with the name of a font on th ...

  4. multiple wavetable animation by elifieldsteel (eli.fieldsteel) Code

    ... 27, {animateFn.stop;win.close;}) }); StaticText(win, Rect(60,100,384,48)) .font_(Font(Font.defaultSansFace, 36)) .stringColor_(Color.gray(0.8)) .string_("wavetable 0") .align_(\center); StaticText(win, Rect(400,347,50,20)) .font ...

  5. extString-boundsM9 Quark

    ... Wouter Snoei /// workaround for String_GetBounds failure /// draws Strings with Font( "Monaco", 9 ) // partially obsolete but still here to prevent code breaking + String { *widthM9 { |n = 1| ^(n * 6) } // width of n chars in Font( "Monaco" ...

  6. «Gui for NanoKontrol 2» by jmasterj89 (jmasterj89) Code

    ... for NanoKontrol 2 by GlacioArdor //Gui ( s.waitForBoot({ var win, defFont, title, ccs, lbls, syms, trackLbl; // Main window // Window.closeAll; win = Window.new("NanoKontrol2 GUI", Rect(0, 600, 1024, 300), false, true); ...

  7. ProjectControlsCactus Quark

    ... lign_(\center); this.createLabel("🌵", height: 65, width: 256) .align_(\center) .font_(Font("Lucida Grande", 60)); this.createLabel("----------------", height: 10, width: 256).align_(\center); this.createLabel("", height: 10, width: 256).ali ...

  8. CXLabel Quark

    ... bstractLabel : SCViewHolder { *new { arg layout,string,width,height,minWidth=15,font; string = string.asString; if(font.isNil,{ font = GUI.font.new(*GUI.skin.fontSpecs) }); ^super.new.init(layout, Rect(0,0, width ?? {(string.bounds(font).wi ...

  9. CXLabel Quark

    ... ctLabel : SCViewHolder { *new { arg layout, string, width, height, minWidth=15, font; string = string.asString; if(font.isNil, { font = GUI.font.new(*GUI.skin.fontSpecs) }); ^super.new.init(layout, Rect(0, 0, width ?? {(string.bounds(font). ...

  10. OSCIISlider Quark

    OSCIISlider { var slider, valueText, nameText, spec, lastval, font; *new { arg w, bounds, name, min=0.0, max=1.0, start=0.0, step=0.0, warp=\lin; ^super.new.initOSCIISlider(w, bounds, name, min, max, start, step, warp); } initOSCIISlider { ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow