]> O.S.I.I.S - jp/crow.git/commitdiff
Use of Slot.Dimentions in paint instead of Parent.Context(slot)
authorjpbruyere <jp.bruyere@hotmail.com>
Wed, 20 Jan 2016 07:04:52 +0000 (08:04 +0100)
committerjpbruyere <jp.bruyere@hotmail.com>
Wed, 20 Jan 2016 07:04:52 +0000 (08:04 +0100)
src/GraphicObjects/GraphicObject.cs

index fe707957fce05fd6333127bc2a9ce733621fe2f4..b5884d5e34e3e88fb181772e2c99daca510612ba 100644 (file)
@@ -748,7 +748,7 @@ namespace go
 \r
                        Rectangle rb = Parent.ContextCoordinates(Slot);\r
 \r
-                       using (ImageSurface source = new ImageSurface(bmp, Format.Argb32, rb.Width, rb.Height, 4 * Slot.Width)) {\r
+                       using (ImageSurface source = new ImageSurface(bmp, Format.Argb32, Slot.Width, Slot.Height, 4 * Slot.Width)) {\r
                                if (this.Background == Color.Clear) {\r
                                        ctx.Save ();\r
                                        ctx.Operator = Operator.Clear;\r