From 6e0a1d9df17e661da2038781d75633440b2b6341 Mon Sep 17 00:00:00 2001 From: Charles Merriam Date: Sun, 1 Feb 2015 00:10:39 -0800 Subject: [PATCH] Add examples/canvas/clearbuffers.py docstring --- examples/canvas/clearbuffers.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/examples/canvas/clearbuffers.py b/examples/canvas/clearbuffers.py index d22f6c0cb..690b77188 100644 --- a/examples/canvas/clearbuffers.py +++ b/examples/canvas/clearbuffers.py @@ -1,5 +1,14 @@ -__all__ = ('FboFloatLayout', ) +''' +FBO Canvas +========== +This demonstrates a layout using an FBO (Frame Buffer Off-screen) +instead of a plain canvas. You should see a black canvas with a +button labelled 'FBO' in the bottom left corner. Clicking it +animates the button moving right to left. +''' + +__all__ = ('FboFloatLayout', ) from kivy.graphics import Color, Rectangle, Canvas, ClearBuffers, ClearColor from kivy.graphics.fbo import Fbo