aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-01-20 08:04:52 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-01-20 08:04:52 +0100
commite3bb9b00218d683cd5fc5b98ae8882d8d4eec8f8 (patch)
tree5236e9bc9b5df855626113a155b8b22544e2189e /src/GraphicObjects
parentf2f2752d605d81510db042b27bc9471d8e27c2ea (diff)
Use of Slot.Dimentions in paint instead of Parent.Context(slot)
Diffstat (limited to 'src/GraphicObjects')
-rw-r--r--src/GraphicObjects/GraphicObject.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GraphicObjects/GraphicObject.cs b/src/GraphicObjects/GraphicObject.cs
index fe707957..b5884d5e 100644
--- a/src/GraphicObjects/GraphicObject.cs
+++ b/src/GraphicObjects/GraphicObject.cs
@@ -748,7 +748,7 @@ namespace go
Rectangle rb = Parent.ContextCoordinates(Slot);
- using (ImageSurface source = new ImageSurface(bmp, Format.Argb32, rb.Width, rb.Height, 4 * Slot.Width)) {
+ using (ImageSurface source = new ImageSurface(bmp, Format.Argb32, Slot.Width, Slot.Height, 4 * Slot.Width)) {
if (this.Background == Color.Clear) {
ctx.Save ();
ctx.Operator = Operator.Clear;