func init // adds using namespace sys.add_use('System.Drawing') end func doFillRectangle(data) blk.println(d("Graphics", 20), '.FillRectangle(', d("Brush", 20), ', ', d("Rect", 20), ');') end func doFillRectangle2(data) blk.println(d("Graphics", 20), '.FillRectangle(', d("Brush", 20), ', ', d("x", 1), ', ', d("y", 1), ', ', d("width", 1), ', ', d("height", 1), ');') end func doFillRectangle3(data) blk.println(d("Graphics", 20), '.FillRectangle(', d("Brush", 20), ', ', d("x", 107), ', ', d("y", 107), ', ', d("width", 107), ', ', d("height", 107), ');') end func doFillRectangles(data) blk.println(d("Graphics", 20), '.FillRectangles(', d("Brush", 20), ', ', sys.structure_array(data, 'Rects', 'Rectangle'), ');') end