On Tue, 2002-07-30 at 18:52, Dom Lachowicz wrote:
> Martin and I had a discussion on IRC last night (after this email was sent) and we 
>finally reached a consensus on the correct behavior. Marc (uwog) and Tomas also seem 
>to agree with this, so let's go and actually implement it:
> 
> "If a run is not transparent, draw the color/image into the background
> rectangle. If a run is transparent, it should ask its parent container
> to draw into the given background rectangle, until the parent isn't
> transparent or the parent == the document."

Just for completeness, if we're going to do the right thing handling a
full alpha channel and everything, we will need something as:

if a run is "partially" transparent, it should ask its parent container
to draw into the given background rectangle *AND* once the parent finish
painting, the run should paint its partially transparent background. 
Obviously, the container should also do the same thing (ask its parent
to draw its background if it has a partially transparent background, and
then draw its own background).

Cheers,

-- 
Joaqu�n Cuenca Abela
[EMAIL PROTECTED]

Reply via email to