LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help me to draw graphics with C#!!!!!!!!!!!!!! (https://www.linuxquestions.org/questions/linux-newbie-8/help-me-to-draw-graphics-with-c-510735/)

JohhnyAlpha8 12-15-2006 11:16 AM

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!!!!!!!!!!

moxieman99 12-15-2006 11:19 AM

Please do not multi-post.

trickykid 12-15-2006 12:48 PM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


All times are GMT -5. The time now is 08:08 PM.