[fxruby-users] FXRuby for 2D drawing

Lyle Johnson lyle at lylejohnson.name
Sat Feb 2 14:11:47 EST 2008


On Feb 2, 2008, at 10:02 AM, Ranieri Teixeira wrote:

> Hi, I'm working in a application for generating 2D charts with FXRuby.
> I use a FXPNGImage to off-screen drawing. But, the canvas repaint has
> many flickering, I don't think it's a problem with my machine because
> I use Java2D with almost no flicker effects.
> So: how can I significantly reduce flickering effects when drawing
> with FXRuby components?

I think I would try using double-buffered drawing to see if that  
improved things. See this question from the FAQ for some ideas:

	http://www.fox-toolkit.org/faq.html#IMAGE

Hope this helps,

Lyle


More information about the fxruby-users mailing list