[lazarus] TGraphic Transparency
Tony Maro
tony at maro.net
Fri Mar 21 11:46:22 EST 2003
On Fri, 2003-03-21 at 09:25, andrew johnson wrote:
> > >
> > > 2.) how should it be handled on types which don't support it natively
> >
> > Obviously apply the transparency to the graphic as it's being drawn.
> > Well obvious to me, but I'm infamous for misunderstanding the question.
> >
>
> well the question here is _what_ transparency, i.e. how is this
> transparency determined. If it is just a color is replaced like I think
> I remember, how is that colour determined? where does that colour come
> from? is it just a generic default? I don't think so because I remember
> loading different bitmaps with different colours used and Delphi almost
> always picked the right one. Anyway, like I say its been awhile since I
> had use of this so I can't remember the ins and outs of how it worked,
> so its hard to guess how it should work.
I seem to recall that for some things (maybe I'm thinking of just a very unique situation) they would take the transparency color from the color of the top left most pixel.
-Tony
More information about the Lazarus
mailing list