vector_graphics
vector_graphics copied to clipboard
Consider applying color filters to the rasterized vector graphic instead of the resulting image
Context: https://github.com/dnfield/vector_graphics/pull/71/files/f6ebe3b00725a95710a345e9e0642fd2911e69ce#diff-6aefb41d5a9139706f33aa4ae6d68a7ed1c69f1ec5ae78f16dbb1f1cc2bee325
The idea is that since some filter types may be expensive, it could be beneficial to performance to instead rasterize them instead of using Paint on the drawImage call. The trade-off here is that we'd have to re-rasterize if the filter changed