LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-05-2023, 12:21 PM   #1
Ace Blackwell
Member
 
Registered: Mar 2004
Location: Kentucky, USA
Distribution: SlamD 12.1 / Slack 12.0 ~ 14.2_64
Posts: 345

Rep: Reputation: 54
Best C++ Graphics Library where installation is concerned.


All,

I'm looking at graduating on from my current graphics library Allegro 4.X. I've looked at Allegro 5 and SDL but the installation seems complicated by comparison. My system actually tells me I have SDL installed though I'm not 100% convinced. My questions is, is there a good graphics library that I don't need to be a computer engineer to install?

Thanks
 
Old 01-05-2023, 12:28 PM   #2
EdGr
Senior Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 1,000

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
What are you using the library for?

SDL and Allegro target video games.

I use Cairo for 2D drawing in my GUI programs. https://www.cairographics.org

Cairo is the drawing component for GTK.
Ed
 
Old 01-05-2023, 12:48 PM   #3
Ace Blackwell
Member
 
Registered: Mar 2004
Location: Kentucky, USA
Distribution: SlamD 12.1 / Slack 12.0 ~ 14.2_64
Posts: 345

Original Poster
Rep: Reputation: 54
Thanks EdGr. Speaking of being an engineer, interesting website.

In my case, I like to write simple games. To this point I've only written PC console type games. No mouse or windows, all keyboard. In the beginning I drew directly to the screen. Eventually I learn use buffers, bitmaps, and sound files.

I program top down, but was looking at learning event driven programming. I've have very little experience with that.
 
Old 01-05-2023, 01:02 PM   #4
EdGr
Senior Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 1,000

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
Thanks! My website is eclectic.

Cairo is fast enough for simple animation, but generally favors quality over speed. You can easily port your bitmap code to a Cairo image surface. Getting it on the screen is done through GTK.
Ed
 
Old 01-05-2023, 01:05 PM   #5
Ace Blackwell
Member
 
Registered: Mar 2004
Location: Kentucky, USA
Distribution: SlamD 12.1 / Slack 12.0 ~ 14.2_64
Posts: 345

Original Poster
Rep: Reputation: 54
Thanks, I'll check it out.
 
  


Reply



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
what is the function library of the basic graphics library in rethat9.0? zerwolve Red Hat 0 04-29-2004 09:18 PM
Concerned about delete partition ajmacedo Linux - Newbie 3 10-28-2003 03:44 PM
This is concerned with java ! pls reply harish7447 Programming 2 10-06-2003 01:06 PM
Making a cross browser DHMTL menu (mainly concerned about DOM) Travis86 Programming 8 08-18-2003 02:35 PM
compromised, and concerned, newbie mussy Linux - Security 2 08-17-2003 08:54 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:49 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