Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用Cairo API绘制模糊矩形边框的正确方法是什么?我正在为Shotwell编写一个补丁,为缩略图视图中的缩略图添加模糊阴影。
现在我正在尝试手动模糊。
I ended up drawing the border with linear and radial gradients.
Here is a small visualization. The lines symbolize the linear grandients and the 0 the radial gradients.
0 | | 0------0