3

使用Cairo API绘制模糊矩形边框的正确方法是什么?我正在为Shotwell编写一个补丁,为缩略图视图中的缩略图添加模糊阴影。

现在我正在尝试手动模糊。

4

1 回答 1

2

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
于 2011-08-18T11:32:11.230 回答