Something else, are there plans to add more blend modes(multiply, screen, darken, lighten) and composite operators(atop, in, out, xor etc.)? I guess the normal blending mode is currently implemented in the span() methods of the various agg_pixfmt_* files?
对于blend或者copy,都需要分别了解,一个是直接拷贝像素,覆盖在已有的基础上,一个是添加像素,但是会和以前的进行一个透明设置:color = alpha * colorA + (1-alpha)* colorB
时间: 2024-10-24 22:29:07