renderer: support an viewport interface of the canvas
hermet opened this issue · comments
Hermet Park commented
Support a feature to set the partial region of the drawing. This would help apps minimize the ThorVG drawing region when only a portion of the canvas is visible on the screen, such as during scrolling.
canvas->viewport(x, y, w, h);