Re: [lazarus] Patch for TBitmap Mask proposal

2006-04-04 Thread Mattias Gaertner
On Mon, 03 Apr 2006 11:46:04 +0200 Tomas Gregorovic <[EMAIL PROTECTED]> wrote: >[...] > >Thanks. The bitmap is loaded transparent. > >I could not test the := Image1.Picture.Bitmap.Canvas.Pixels[X, Y];, as > >this does is not yet implemented under gtk1 interface. > >You want to switch the transpare

Re: [lazarus] Patch for TBitmap Mask proposal

2006-04-03 Thread Tomas Gregorovic
Mattias Gaertner napsal(a): On Fri, 31 Mar 2006 12:36:27 +0200 Tomas Gregorovic <[EMAIL PROTECTED]> wrote: Mattias Gaertner napsal(a): On Thu, 30 Mar 2006 15:23:08 +0200 Tomas Gregorovic <[EMAIL PROTECTED]> wrote: Tomas Gregorovic napsal(a): And where do you

Re: [lazarus] Patch for TBitmap Mask proposal

2006-04-02 Thread Mattias Gaertner
On Fri, 31 Mar 2006 12:36:27 +0200 Tomas Gregorovic <[EMAIL PROTECTED]> wrote: > Mattias Gaertner napsal(a): > > >On Thu, 30 Mar 2006 15:23:08 +0200 > >Tomas Gregorovic <[EMAIL PROTECTED]> wrote: > > > > > > > >>Tomas Gregorovic napsal(a): > >> > >> > >> > >>>And where do you actually c

Re: [lazarus] Patch for TBitmap Mask proposal

2006-03-30 Thread Mattias Gaertner
On Thu, 30 Mar 2006 15:23:08 +0200 Tomas Gregorovic <[EMAIL PROTECTED]> wrote: > Tomas Gregorovic napsal(a): > > >And where do you actually create the alpha mask? > > > > > > > > > I create the aplha mask in function CreateBitmapMask. I draw source > bitmap to

Re: [lazarus] Patch for TBitmap Mask proposal

2006-03-30 Thread Tomas Gregorovic
Tomas Gregorovic napsal(a): And where do you actually create the alpha mask? I create the aplha mask in function CreateBitmapMask. I draw source bitmap to monochromatic mask bitmap using a trick which changes the transparent color to white in the mask bitmap. I am not sure if it is m

Re: [lazarus] Patch for TBitmap Mask proposal

2006-03-29 Thread Mattias Gaertner
On Wed, 29 Mar 2006 15:04:13 +0200 Tomas Gregorovic <[EMAIL PROTECTED]> wrote: > Mattias Gaertner napsal(a): > > >On Mon, 27 Mar 2006 15:29:44 +0200 > >Tomas Gregorovic <[EMAIL PROTECTED]> wrote: > > > > > > > >>Mattias Gaertner napsal(a): > >> > >> > >> > >>>On Mon, 13 Mar 2006 11:09:19 +0

Re: [lazarus] Patch for TBitmap Mask proposal

2006-03-29 Thread Tomas Gregorovic
Mattias Gaertner napsal(a): On Mon, 27 Mar 2006 15:29:44 +0200 Tomas Gregorovic <[EMAIL PROTECTED]> wrote: Mattias Gaertner napsal(a): On Mon, 13 Mar 2006 11:09:19 +0100 Tomas Gregorovic <[EMAIL PROTECTED]> wrote: Mattias Gaertner napsal(a): On Fri, 10 Mar 2

Re: [lazarus] Patch for TBitmap Mask proposal

2006-03-27 Thread Mattias Gaertner
On Mon, 27 Mar 2006 15:29:44 +0200 Tomas Gregorovic <[EMAIL PROTECTED]> wrote: > Mattias Gaertner napsal(a): > > >On Mon, 13 Mar 2006 11:09:19 +0100 > >Tomas Gregorovic <[EMAIL PROTECTED]> wrote: > > > > > > > >>Mattias Gaertner napsal(a): > >> > >> > >> > >>>On Fri, 10 Mar 2006 14:15:44 +0

Re: [lazarus] Patch for TBitmap Mask proposal

2006-03-27 Thread Tomas Gregorovic
Mattias Gaertner napsal(a): On Mon, 13 Mar 2006 11:09:19 +0100 Tomas Gregorovic <[EMAIL PROTECTED]> wrote: Mattias Gaertner napsal(a): On Fri, 10 Mar 2006 14:15:44 +0100 Tomas Gregorovic <[EMAIL PROTECTED]> wrote: Hi, finally I have finished my long battle around bitmap ma

Re: [lazarus] Patch for TBitmap Mask proposal

2006-03-22 Thread Mattias Gaertner
On Mon, 13 Mar 2006 11:09:19 +0100 Tomas Gregorovic <[EMAIL PROTECTED]> wrote: > Mattias Gaertner napsal(a): > > >On Fri, 10 Mar 2006 14:15:44 +0100 > >Tomas Gregorovic <[EMAIL PROTECTED]> wrote: > > > > > > > >>Hi, > >>finally I have finished my long battle around bitmap masks. > >> > >>I have

Re: [lazarus] Patch for TBitmap Mask proposal

2006-03-12 Thread Mattias Gaertner
On Fri, 10 Mar 2006 14:15:44 +0100 Tomas Gregorovic <[EMAIL PROTECTED]> wrote: > Hi, > finally I have finished my long battle around bitmap masks. > > I have implemented method CreateBitmapMask, which creates mask according > to transparent color. The white pixels stand for opacity and black for