After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 696630 - Do not use ClutterActorBox
Do not use ClutterActorBox
Status: RESOLVED FIXED
Product: clutter-gst
Classification: Other
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: clutter-gst-maint
clutter-gst-maint
Depends on:
Blocks:
 
 
Reported: 2013-03-26 12:14 UTC by Emmanuele Bassi (:ebassi)
Modified: 2013-04-25 15:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Emmanuele Bassi (:ebassi) 2013-03-26 12:14:40 UTC
the ActorBox type is a pretty bad one for denominating rectangular regions; Clutter provides ClutterRect, as well as ClutterPoint and ClutterSize, which has a better representation of a rectangle.

ClutterActorBox is also slated for removal in 2.0.

ClutterGstCrop uses ClutterActorBox in the input-region and output-region properties; I'll try and cook up a patch soon.
Comment 1 Emmanuele Bassi (:ebassi) 2013-03-26 12:15:42 UTC
the tracker for removing ClutterActorBox in 2.0 is bug 682783.
Comment 2 Lionel Landwerlin 2013-04-25 15:46:55 UTC
Fixed, added ClutterGstBox from ClutterActorBox.
Maybe not the way you wanted it to be, but after giving a try to ClutterPoint + ClutterRect it turns out is easier to use a pair of x,y coordinates (probably because it ends up using Cogl's API).