matrix icon indicating copy to clipboard operation
matrix copied to clipboard

api: promote the mask() method to Scene from Paint

Open canhth opened this issue 1 year ago • 0 comments

The mask() function is too general-purpose in thorvg now, making it somewhat over-engineered for practical use. It might not be a bad idea to restrict mask() to a Scene-level scope and optimize the data structure and resources for better efficiency.

Paint::mask() -> Scene::mask()

See: https://github.com/thorvg/thorvg/issues/1372

canhth avatar Sep 23 '24 12:09 canhth