>
> On 14.01.2009, at 22:06, Jose Marcelo Auler wrote:
>
> > I would like to know if is there a way to get the pixels that are
> > currently drawn in my component(a custom one), or even in the screen?
>
> http://fltk.org/documentation.php/doc-1.1/drawing.html#fl_read_image
>
> Is that what you are thinking about?
Great, that is exactly what I wanted.
>
> > I was wondering to do some effects in my components and I was also
> > thinking to blur the whole screen except for the dialog, like people
> > are doing with java2d to give highlight to a desired component.
>
> Sigh. Yes, you may be able to that, but it is somewhat tricky and
> quite time consuming. Are you sure it will have a great benefit to the
> user as opposed to, say, graying out the UI by calling window-
>  >diasable() ?
In this case I think you are right, but the example was just one idea of many 
that could be done with access to the pixels drawn.
>
> > And I also want to know if are there some anti-aliasing and
> > transparency implementation for fltk?( I know that for the official
> > version the answer is no, but if someone already faced this problem
> > and solved somehow, it would be great to know the solution)
>
> The official answer is, yes, partially. FLTK 1 fully supports images
> with alpha information - assuming the underlying OS supports that.

Yes, I know it has alpha support for images, but the GUI components are not 
written to worry about the transparency bit, so I could not do a window, a 
button or a overlay object with transparency. But with your first tip, It must 
be possible to do.

> Antialiasing is supported on the Mac for FLTK1. FLTK2 has some support
> for antialiasing in an experimental way.
>
> >
>
> ----
> http://robowerk.com/
>
>
Thanks in advanced, your answer was very helpful.
Best regards,
J.Marcelo Auler


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to