[clutter] event coordinates from an event on a group are relative to stage

2009-06-20 Thread Bartosz Kostrzewa
Hi,

when a group is made reactive and receives a mouse event the event
coordinates are relative to the stage.

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? Wouldn't it
make sense to have events received by a group automatically produce
coordinates relevant there?

Thanks,
Bartek
-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



[clutter] Re: [ANNOUNCE] Clutter 0.9.4 (core) - 1.0.0rc1, developers snapshot

2009-06-20 Thread Bastien Nocera
On Sat, 2009-06-20 at 10:43 +0100, Emmanuele Bassi wrote:
> hi everyone;
> 
> Clutter 0.9.4 is now available for download at:
> 
>   http://www.clutter-project.org/sources/clutter/0.9/

Could we get a new clutter-gtk release as well? Between the API churn
and the not-released yet deps, we haven't been able to build gnome-games
in Fedora since the first devel release for 2.27.x.

Cheers

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] [ANNOUNCE] Clutter 0.9.4 (core) - 1.0.0rc1, developers snapshot

2009-06-20 Thread Bartosz Kostrzewa
Hi Emmanuele, thanks for the update. I had two questions because I
haven't been following the source for clutter much.

> o Remove all the units-based API from ClutterActor, and migrate all the
>   positional and dimensional accessors to use floating point values when
>   dealing with pixels. All the properties dealing with pixels now that a
>   floating point value as well. This change does have repercussions on

How are the floating point values actualized as real screen coordinates?
Currently I often have actors that are animated only slightly "stutter"
while moving because of rounding problems. Is this now done "smartly"
internally to minimize stutter?

 > o Move Timelines to pure time-based objects.

Will timelines now run exclusively with the default fps setting? Can I
be certain that n_frames is still time*default_fps ?

Thanks.
-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



[clutter] [ANNOUNCE] Clutter 0.9.4 (core) - 1.0.0rc1, developers snapshot

2009-06-20 Thread Emmanuele Bassi
hi everyone;

Clutter 0.9.4 is now available for download at:

  http://www.clutter-project.org/sources/clutter/0.9/

MD5 Checksums:



Clutter is an open source software library for creating fast, visually
rich and animated graphical user interfaces. Clutter is licensed under
the terms of the GNU Lesser General Public License version 2.1.

Clutter currently requires:

  * GLib >= 2.16.0
  * Cairo >= 1.6
  * Pango >= 1.20
  * OpenGL >= 1.4, OpenGL ES 1.1 or OpenGL ES 2.0
  * GLX, SDL, WGL, Quartz or an EGL Implementation

The official website is: http://www.clutter-project.org
The Clutter blog is at:  http://www.clutter-project.org/blog
To subscribe to the Clutter mailing list, send mail to: 
clutter+subscr...@o-hand.com 
The official mailing list archive is: http://lists.o-hand.com/clutter/
API reference: http://www.clutter-project.org/docs/clutter/0.9/

* Notes

   o This is a development release of Clutter 0.9 leading towards the
 1.0 stable cycle. It is the first release candidate for the 1.0.0
 release: the Clutter high-level API is to be considered frozen,
 though there might be last minutes additions to the COGL low-level
 API to accommodate the performance improvements done in the
 cogl-journal-batching branch that is going to be merged next week.

   o This version is fully API and ABI incompatible with the previous
 0.8 releases.

   o This version is parallel installable with Clutter 0.8.

   o Installing this version will overwrite the files from the
 installation of a git clone of the current development
 branch (master).

   o Bugs should be reported to: http://bugzilla.o-hand.com

What's new in Clutter 0.9.4
---

o Set the layout height in ClutterText, so that wrapping and ellipsization
  work correctly to fill all the allocated area.

o Remove all the units-based API from ClutterActor, and migrate all the
  positional and dimensional accessors to use floating point values when
  dealing with pixels. All the properties dealing with pixels now that a
  floating point value as well. This change does have repercussions on
  functions with variadic arguments like clutter_actor_animate(),
  g_object_new(), g_object_set() and g_object_get().

o Add the ability to track whether an actor is going to be painted or not,
  using the "mapped" flag. This also allows Clutter to be more strict
  in the handling of the scenegraph, ensuring correctness and avoiding
  wasting resources on nodes that won't be painted.

o Add debugging facilities for COGL, similar to those of Clutter; through
  them is also possible to have an on screen debugging mode that shows the
  boundaries of each rectangle sent to the GPU.

o Rework "units" into real logical distance units that can be converted
  between millimeters, typographic points and ems, into pixels.

o Simplify the Animation class to avoid redundancy and the possibility
  of it going out of sync with the Timeline and Alpha instances it uses.

o Move every operation into a single "master clock" source that advances
  the timelines, dispatches events and redraws the stages in a predictable
  sequence, thus avoiding unneeded redraws. The default is to follow the
  sync-to-vblank cycle, if it is supported by the drivers.

o Cache the glyphs geometry into a vertex buffer object to avoid
  resubmitting too much information to the GPU.

o Rework the behaviour of ClutterModel when a filter is applied.

o Allow submitting premultiplied texture data; this removes the need
  for unpremultiplying data in CairoTexture.

o Add a simple API for submitting blending and texture combining modes
  through a string description.

o Move Timelines to pure time-based objects.

o The Input devices API has been cleaned up. Currently, the X11 support
  for XInput 1.x is disabled by default, and Clutter must be configured
  with --enable-xinput in order to enable it; XInput 1.x is going to be
  replaced by XInput2, which is a far better API. Support for XInput2
  will be added during the 1.x cycle.

o Lots of performance improvements.

o Removal of all the deprecated API.

o Removal of all the fixed point entry points.

o Lots of documentation fixes - the coverage is now 99% of the exported
  1600 symbols for Clutter and 80%+ of the 300 exported symbols for COGL.

o Generate the GObject Introspection data for both Clutter and COGL
  at build time.

o Build environment fixes.

Many thanks to:

Owen W. Taylor 
Thomas Wood 
Havoc Pennington 
Bastian Winkler 
Chris Lord 
Garry Bodsworth 
Rob Bradford 
Johan Bilien 
Jonas Bonn 
Raymond Liu 
Damien Lespiau 
Dan Winship 
Marc-André Lureau 
Robert Staudinger 
Tommi Komulainen 

Full list of changes since 0.9.2:
-
Bastian Winkler