Hi,

I'm trying to create a blur effect on text.

First I need to pad the label so I'm creating a transparent ClutterRectangle and group it with ClutterLabel with some text.

(using the following advice "A group can be padded with a transparent rectangle as to provide a border to contents for shader output (blurring text for example).


Seconreated, I'm creating a ClutterTexture from this ClutterGroup (using clutter_texture_new_from_actor). Everything works well until I'm changing the text in the label and the texture size doesn't changed.

It is because the ClutterGroup has been connected to the "notify::width" and "notify::height" signals, ClutterLabel is not connected to these signals and when ClutterLabel size is being changed, on_fbo_source_size_change function is not being called and the ClutterTexture size does not changed.

Any ideas?

Thanks,
Gil

--
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to