From b728858cc38aabb490a82d7230656ea941e4a7c8 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 17 Dec 2007 15:51:30 +0000 Subject: [PATCH] 2007-12-17 Emmanuele Bassi * clutter/clutter-texture.c: Mention the fact that a ClutterTexture will scale its contents to fit inside the requested bounding box. (#661) --- ChangeLog | 6 ++++++ clutter/clutter-texture.c | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3948e827b..ba62f9377 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-12-17 Emmanuele Bassi + + * clutter/clutter-texture.c: Mention the fact that a ClutterTexture + will scale its contents to fit inside the requested bounding + box. (#661) + 2007-12-17 Emmanuele Bassi * clutter/clutter-actor.c: Fix documentation for diff --git a/clutter/clutter-texture.c b/clutter/clutter-texture.c index 896fb83bd..5263612bf 100644 --- a/clutter/clutter-texture.c +++ b/clutter/clutter-texture.c @@ -39,6 +39,11 @@ * system memory. Re-realizing then performs the opposite operation. * This process allows basic management of commonly limited available texture * memory. + * + * Note: a ClutterTexture will scale its contents to fit the bounding box + * requested using clutter_actor_request_coords() and its wrappers. To + * display an area of a texture without scaling, you should set the clip + * area using clutter_actor_set_clip(). */ #ifdef HAVE_CONFIG_H