Hi Guys, 

I'm looking to build a cross platform paint application using clutter (I'm 
using 1.6.2). In this regard, I have a few questions which I am hoping folks 
here can help answer.

1. What is the recommended way of blitting texture onto an actor? Depending on 
how fast the use is dragging his/her mouse, I may need to blit an image of a 
brushstroke hundreds of times a second onto the canvas. I will also need to 
allow the user to undo his/her actions ** quickly and very often **. Therefore, 
using a bitmap 'context' isn't probably the right way to go about this(?). Is 
creating a ClutterTexture and cloning it a sensible option?

2. I am looking at the scribble example at 
http://docs.clutter-project.org/docs/clutter-cookbook/1.0/events-pointer-motion.html.
 Using the program with my Wacom tablet, I noticed that the motion-event 
signals aren't emitted as frequently as to make the drawing smooth (I can see a 
lot of straight lines in the path). My question is, is clutter coalescing mouse 
events and if so, is there a way I could get the signals much more frequently? 
I have written similar apps using cocoa on OSX and even if I didn't use curve 
fitting algorithms, the paths would come out much smoother than it is when 
using the code in the link. Help!

I'm new to clutter so any pointers to issues besides those relating to my 
questions but applicable to a paint application would be very much welcome. 
Forgive me for asking a lot in a single post.


Thanks!

Bibhas 

_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to