diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-09-15 11:31:22 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-09-15 11:31:22 +0200 |
| commit | e349658ad697ef950c85a85faa6259245ad6d266 (patch) | |
| tree | c20834d46cbb881ae15c3bd92326e64d24891e09 /src/GraphicObjects/GraphicObject.cs | |
| parent | 75bdbe50aff36405a56422783c4ef84f951f4dc6 (diff) | |
debug and typo
Diffstat (limited to 'src/GraphicObjects/GraphicObject.cs')
| -rw-r--r-- | src/GraphicObjects/GraphicObject.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/GraphicObjects/GraphicObject.cs b/src/GraphicObjects/GraphicObject.cs index 6a146c64..41720ed9 100644 --- a/src/GraphicObjects/GraphicObject.cs +++ b/src/GraphicObjects/GraphicObject.cs @@ -480,6 +480,8 @@ namespace go {
if (Parent==null)
return;
+
+ //Debug.WriteLine ("Layout change: " + this.ToString () + ":" + LastSlots.ToString() + "=>" + Slot.ToString ());
switch (layoutType) {
case LayoutingType.Width:
@@ -644,7 +646,7 @@ namespace go using (ImageSurface draw =
new ImageSurface(bmp, Format.Argb32, Slot.Width, Slot.Height, stride)) {
using (Context gr = new Context (draw)) {
- gr.Antialias = Antialias.Gray;
+ gr.Antialias = Antialias.Subpixel;
onDraw (gr);
}
draw.Flush ();
|