nanogui: nano-X and alha blending
Subject:
Re: [nanogui] nano-X and alha blending
From:
tj ####@####.####
Date:
30 Sep 2005 07:01:43 +0100
Message-Id: <433CD508.5030802@comcast.net>
Thanks for the info greg.
Here's what I hope to do...
when the window appears, rather than just "popping up" it wants to fade
in and fade out when closeing. I hoped to do this with alpha blending by
having the window in a pixmap and starting out with a high transparency
copying it into the window, and then with a timer, keep recopying it
with less and less transparency until soild. Then reverse for "fade out".
Is this possible?
tj
Greg Haerr wrote:
>: Can you alhpa blend in nano-X? I found the demo, but is microwin.
>
>We have received a patch for alpha blending for image output
>only, which is used only during decoded image display in
>GdDrawImage, not general blitting.
>
>
>:
>: I found the call it uses GdStrechBlit(), but I could find no
>: documentation. I fact, I found no docs on any Gd<whatever> calls.
>
>The GdXXX routines are engine routines, there usually exists
>a GrXXX routine for the nano-X api which calls the engine
>routine. The GrLoadImage/DisplayImage routines are used
>for image display for the alpha blending patch. Adding
>blitting support for alpha blending doesn't have to be that
>hard, we currently support it in the driver level for hw
>alpha blending.
>
>Regards,
>
>Greg
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: ####@####.####
>For additional commands, e-mail: ####@####.####
>
>
>
>