mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
offscreen-effect: Add a method to get the target area
The target size is not always enough, there are cases where the offset used to paint the target must also be available for developers implementing an OffscreenEffect. The get_target_rect() method returns the rectangle used to paint the target, with the offsets in the ClutterRect:origin and the texture size in the ClutterRect:size fields, respectively. The get_target_size() method should be deprecated, given that its replacement is generally more useful. https://bugzilla.gnome.org/show_bug.cgi?id=670004
This commit is contained in:
@ -2746,6 +2746,7 @@ clutter_offscreen_effect_get_texture
|
||||
clutter_offscreen_effect_create_texture
|
||||
clutter_offscreen_effect_paint_target
|
||||
clutter_offscreen_effect_get_target_size
|
||||
clutter_offscreen_effect_get_target_rect
|
||||
<SUBSECTION Standard>
|
||||
CLUTTER_TYPE_OFFSCREEN_EFFECT
|
||||
CLUTTER_OFFSCREEN_EFFECT
|
||||
|
Reference in New Issue
Block a user