Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Closed Thread
  Search this Thread
Old 12-15-2006, 12:16 PM   #1
LQ Newbie
Registered: Nov 2006
Posts: 19

Rep: Reputation: 0
Talking 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 12:21 PM.
Old 12-15-2006, 12:19 PM   #2
Registered: Feb 2004
Distribution: Dabble, but latest used are Fedora 13 and Ubuntu 10.4.1
Posts: 422

Rep: Reputation: 147Reputation: 147
Please do not multi-post.
Old 12-15-2006, 01:48 PM   #3
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
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.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I draw an image with Qt? Ephracis Programming 3 06-27-2009 07:10 AM
Draw graphics with C# JohhnyAlpha8 Programming 2 12-15-2006 03:32 PM
How can i draw jpeg graphics by glade tonewangl Linux - Software 2 06-11-2005 12:24 AM
Acorn Draw Clone proudclod Linux - Software 7 05-30-2004 01:34 AM
Draw Circle Gerardoj Programming 11 08-24-2003 06:32 PM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration