LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Closed Thread
  Search this Thread
Old 12-15-2006, 11:16 AM   #1
JohhnyAlpha8
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 11:21 AM.
 
Old 12-15-2006, 11:19 AM   #2
moxieman99
Member
 
Registered: Feb 2004
Distribution: Dabble, but latest used are Fedora 13 and Ubuntu 10.4.1
Posts: 425

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

Rep: Reputation: 269Reputation: 269Reputation: 269
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



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 06:10 AM
Draw graphics with C# JohhnyAlpha8 Programming 2 12-15-2006 02:32 PM
How can i draw jpeg graphics by glade tonewangl Linux - Software 2 06-10-2005 11:24 PM
Acorn Draw Clone proudclod Linux - Software 7 05-30-2004 12:34 AM
Draw Circle Gerardoj Programming 11 08-24-2003 05:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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