Nonuse Flush a buffer,Direct manipulation memory?

You can directly painting marked area ??

It’s complicated (and in most cases not recommended) to try to manipulate the buffer yourself. If you want to draw things manually, the canvas is the most intuitive widget for that.