From 079704eaa9fb2ce7228a0936fbab1be9bdccaa73 Mon Sep 17 00:00:00 2001 From: Alexander Taylor Date: Sun, 27 Jul 2014 22:40:35 +0100 Subject: [PATCH] doc: Added doc for flipped kwarg of Texture.save --- kivy/core/image/__init__.py | 3 +++ kivy/graphics/texture.pyx | 3 +++ 2 files changed, 6 insertions(+) diff --git a/kivy/core/image/__init__.py b/kivy/core/image/__init__.py index 695533cd3..b6b7c1760 100644 --- a/kivy/core/image/__init__.py +++ b/kivy/core/image/__init__.py @@ -688,6 +688,9 @@ class Image(EventDispatcher): been heavilly tested so some providers might break when using it. Any other extensions are not officially supported. + The flipped parameter flips the saved image vertically, and + defaults to True. + Example:: # Save an core image object diff --git a/kivy/graphics/texture.pyx b/kivy/graphics/texture.pyx index 24df6b6d0..1f48e2f34 100644 --- a/kivy/graphics/texture.pyx +++ b/kivy/graphics/texture.pyx @@ -1025,6 +1025,9 @@ cdef class Texture: '''Save the texture content to a file. Check :meth:`kivy.core.image.Image.save` for more information. + The flipped parameter flips the saved image vertically, and + defaults to True. + .. versionadded:: 1.7.0 .. versionchanged:: 1.8.0