Re: scale operations



Have you tried the ClutterZoomAction? : https://developer.gnome.org/clutter/stable/ClutterZoomAction.html

On 13/05/15 16:40, Stephane Pion wrote:
Hi All,

I'm working on an application which use clutter (1.20, debian jessie).

I have to display an image and be able to zoom / pan it. I have some troubles to set the pivot point.

As i scale, some shifts appears.

I tried to use clutter_actor_transform_stage_point without any success.

I think it's an obvious problem, but i didn't find the solution
Is somebody know the right way to do that ?

See attached a source which demonstrate my problem

Regards
Stephane


_______________________________________________
clutter-list mailing list
clutter-list gnome org
https://mail.gnome.org/mailman/listinfo/clutter-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]