]> O.S.I.I.S - jp/crow.git/commitdiff
clean
authorjpbruyere <jp.bruyere@hotmail.com>
Tue, 2 Feb 2016 10:13:55 +0000 (11:13 +0100)
committerjpbruyere <jp.bruyere@hotmail.com>
Tue, 2 Feb 2016 10:13:55 +0000 (11:13 +0100)
src/Rectangles.cs

index 9c5cf4e40f2188199676f005703508c06010dec3..3abbfc4e1939d7988191765a27d6c7255a558545 100644 (file)
@@ -148,18 +148,10 @@ namespace Crow
         public void clearAndClip(Context ctx)\r
         {\r
             foreach (Rectangle r in list)\r
-            {\r
                 ctx.Rectangle(r);\r
-            }\r
-                               \r
-                       ctx.ClipPreserve();\r
-\r
-                       //if (Interface.Background == Color.Transparent) {\r
-                               ctx.Operator = Operator.Clear; \r
-                       //} else {\r
-                       //      ctx.Color = Interface.Background;\r
-                       //}\r
 \r
+                       ctx.ClipPreserve();\r
+                       ctx.Operator = Operator.Clear; \r
             ctx.Fill();\r
             ctx.Operator = Operator.Over;            \r
         }\r