add graphics#util and graphics#buffer