Help me to draw graphics with C#!!!!!!!!!!!!!!
I would like to make a program to draw a bar graph in C#.
I'm using SUSE10.0. and I have Mono installed.
I checked out the Mono website -, and saw straight away Cairo.
Which looked great for 2D drawing.
I installed Cairo 1.0.0-7 from my SUSE10.0 CD. (Just by running the rpms cairo, cairodevel, and the documentation cairodoc through YAST).
Eager to test it, I pasted the program 'Graphics.cs' - from the Mono/drawing webpage into a new C# empty file in the Mono editor.
The mono/drawing webpage says that this program'Graphics.cs' provides 'a Graphics with a Gdk.Drawable target surface.' (at least it looks that way to me))
Anyway, I hit the Build button, to compile it, but I got these error messages-
-The namespace Cairo cannot be found (missing assembly reference?)
-Cannot find type Cairo.Context(CS0246)
What is going on????????????????????????
If anyone can help me, I will be eternally grateful!!!!!!!!!!
Last edited by JohhnyAlpha8; 12-15-2006 at 11:21 AM.
|