diff --git a/examples/kivy.jpg b/examples/kivy.jpg new file mode 100644 index 000000000..12ed7e372 Binary files /dev/null and b/examples/kivy.jpg differ diff --git a/examples/testapp.py b/examples/testapp.py new file mode 100644 index 000000000..845cfc124 --- /dev/null +++ b/examples/testapp.py @@ -0,0 +1,14 @@ +from kivy.app import App +from kivy.uix.widget import Widget +from kivy.graphics import * + + +class TestApp(App): + def build(self): + a = Widget() + texture = Image('kivy.jpg').texture + with a.canvas: + Rectangle(size=(345, 345), texture=texture) + return a + +TestApp().run()