Drawing pie slices and chords using filled arcs Filled arcs draw either as a pie slice or as a chord, depending on the setting of the GCArcMode GC attribute. When the GCArcMode is set to ArcPieSlice, a pie slice is drawn. | gc | gc := CgGC default. gc setArcMode: ArcPieSlice. CgWindow default fillArc: gc x: 20 y: 20 width: 40 height: 40 angle1: 64 * 45 angle2: 64 * 270. When the GCArcMode is set to ArcChord, a chord is drawn. | gc | gc := CgGC default. gc setArcMode: ArcChord. CgWindow default fillArc: gc x: 20 y: 20 width: 40 height: 40 angle1: 64 * 45 angle2: 64 * 270.