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?

> 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() ?

> 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.  
Antialiasing is supported on the Mac for FLTK1. FLTK2 has some support  
for antialiasing in an experimental way.

>

----
http://robowerk.com/


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

Reply via email to