
28 Sep
2004
28 Sep
'04
9:27 p.m.
On Tue, 28 Sep 2004 18:25:50 -0300, bulia byak <buliabyak@...400...> wrote:
Heh. I don't know. Is transparency a style attribute that is easy to get?
Even easier than color. It's SP_SCALE24_TO_FLOAT(style->opacity.value) which will give you the 0..1 range.
Err, you also need to multiply it by the fill-opacity:
SP_SCALE24_TO_FLOAT(style->opacity.value) * SP_SCALE24_TO_FLOAT(style->fill_opacity.value)