From 3b7560b2902afd8baa41ede6ab3cbf019420e67f Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Thu, 4 Nov 2010 00:05:25 -0400 Subject: [PATCH] textcanvas: remove uneeded transform_mat --- examples/testcanvas.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/testcanvas.py b/examples/testcanvas.py index 16e2d0211..9daf37f92 100644 --- a/examples/testcanvas.py +++ b/examples/testcanvas.py @@ -2,15 +2,13 @@ import kivy from kivy.base import runTouchApp from kivy.core.window import Window from kivy.core.image import Image -from kivy.graphics import Canvas, Rectangle, BorderRectangle -from kivy.lib.transformations import clip_matrix +from kivy.graphics import Canvas, Rectangle, BorderRectangle, GraphicContext img = Image('examples/test.png') c = Canvas() with c: c.context.set('color', (1,1,1,1)) - c.context.set('projection_mat', clip_matrix(0,Window.width,0,Window.height,-1,1)) BorderRectangle(size=(100, 100), texture=img.texture)