OSDN Git Service

123
[psychlops/silverlight.git] / dev4 / psychlops / core / graphic / canvas.cs
index 282d67a..5a1a7c9 100644 (file)
@@ -960,9 +960,10 @@ namespace Psychlops
                        cnvs = new System.Windows.Controls.Canvas();\r
                        AsyncBool = true;\r
                }\r
-               delegate void AppendFunc1(System.Func<Figure> func);\r
-               public void append__(Shape fig)\r
+               delegate void AppendFunc1(System.Func<Internal.PrimitiveFigure> func);\r
+               public void append__(Internal.PrimitiveFigure fig)\r
                {\r
+                       cnvs.Children.Add(fig.toNative());\r
                }\r
 \r
                public Group clone()\r