[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Q] Trasparent Tiff drawing on Windows.
From: |
S.J.Chun |
Subject: |
Re: [Q] Trasparent Tiff drawing on Windows. |
Date: |
Fri, 4 Jun 2004 14:20:33 +0900 (KST) |
Hi,
I think I found why TransparentBlt seems not work. That's because the
background region where the bitmap
to be displayed has already black color. You can test it with ease. Just
FillRect before TransparentBlt and
you'lll see the correctly displayed image. Or you can just comment out all code
in DPSimage:..., here you
can also see the black region. Now, here comes my question :), how can we get
the correct background color
for transparent image ?
----- Original Message -----
From: MA Garcias <lists@tragnarion.com>
To: "S.J.Chun" <chunsj@embian.com>
Cc: discuss-gnustep@gnu.org
Sent: Thu, 03 Jun 2004 11:58:59 +0200
Subject: Re: [Q] Trasparent Tiff drawing on Windows.
The win32 Backend still doesn't support transparent blit, I'm afraid.
I've been trying to make it so, for most of GUI controls use the
NSCompositeSourceOver operation when blitting images, but I didn't get
it working - the GDI TransparentBlt function didn't recognized the image
format. Maybe I'll be able to do it using your code as a template. I'll
let you know if I make any progresses (and let us know if you make any
yourself).
Thanks to you,
maGarcias | tragnarionStudios
S.J.Chun wrote:
>Hi,
>
>I've managed to create a Windows program which can read
common_3DArrowRight.tiff and correctly display
>it. I cannot make this work with gnustep-back(yes, I'm not good at win32
programming and gnustep-back :).
>
>Can anyone let me know the difference/problem between my attached sample and
gnustep-back? Or if anyone
>can adopt my sample so that gnustep-back can also draw tiff correctly.
>
>Thanks in advance.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Discuss-gnustep mailing list
>Discuss-gnustep@gnu.org
>http://lists.gnu.org/mailman/listinfo/discuss-gnustep
>
>