On Sun, 2009-06-21 at 12:20 +0200, Bartosz Kostrzewa wrote: > Bartosz Kostrzewa wrote: > > Because the group coordinates rotate and transform with the group (so > > that x in a rotated group is actually a position along a possibly > > diagonal line) one cannot easily make natural comparisons between the > > coordinates of the event and coordinates on the group grid. > > > > Does clutter provide transform matrices for this purpose? > > Ah, transform_stage_point :) > > It would be nice to have a way to convert coordinates between arbitrary > actors though.
clutter_actor_apply_relative_transform_to_point() is the function you want. remember, though, that transformations are performed by the CPU and might be costly or even fail. ciao, Emmanuele. -- Emmanuele Bassi, Senior Engineer | [email protected] Intel Open Source Technology Center | http://oss.intel.com -- To unsubscribe send a mail to [email protected]
