From 30ca03de1dfb0d92664c8ffd289004c3dc0676b1 Mon Sep 17 00:00:00 2001 From: Elliot Smith Date: Tue, 29 Jun 2010 17:26:55 +0100 Subject: [PATCH] cookbook: Add recipe for scaling images with :keep-aspect-ratio The cookbook contains a commented-out recipe covering scaling images inside a texture while retaining their aspect ratio; the attached patch fleshes out this recipe. http://bugzilla.clutter-project.org/show_bug.cgi?id=2163 Signed-off-by: Emmanuele Bassi --- doc/cookbook/clutter-cookbook.xml.in | 101 +++++++++++++++++++++++++-- 1 file changed, 95 insertions(+), 6 deletions(-) diff --git a/doc/cookbook/clutter-cookbook.xml.in b/doc/cookbook/clutter-cookbook.xml.in index 0c63be1fb..0146bfadb 100644 --- a/doc/cookbook/clutter-cookbook.xml.in +++ b/doc/cookbook/clutter-cookbook.xml.in @@ -543,30 +543,119 @@ cairo_destroy (cr); -