Jump to content

Need some graphics help

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
HowdyDoody

HowdyDoody

    Newbie

  • Members
  • Pip
  • 1 posts
I haven't done any programming since the early eighties when I used JRT Pascal on a CPM computer, and later with Turbo Pascal on an IBM clone. At that time I wrote two programs that I needed for my business.

Now, I have a project that will require simple 2D screen graphics. I will need to clear the screen with a selected color, turn cursor on/off, goto xy on screen, use larger fonts, and select color for them.

I run FreeBSD with no desktop (eg KDE or Gnome), just a simple window manager (JWM) to launch applications. Free Pascal and the C compiler are installed from the ports collection plus ncurses. I can't get Lazarus installed because of a missing library function. It's my understanding that ncurses can be linked to C, FreePascal, or Python. Is this correct?

However, it seems to me that ncurses might be over kill for the simple graphics I want to do. If so, is there a simpler graphics generator I might use? Since I'm starting from scratch, I'd just as soon use C, unless there is good reason to use a different language.

Any suggestions are appreciated.

#2
A_M

A_M

    Newbie

  • Members
  • Pip
  • 3 posts
I've been using OpenGL for creating user interfaces, being that there are some 3d elements...but if I was going to make a simple 2d interface, I would want to go back and use blitter commands. Unfortunately...I can't help with linux, but in winblows you get the basic bitblt procedure, basically copying pixel info to the window. Look for a simple blitter command that works with your window system, but that wont necessarily solve your text problem. Unless you want to painstakingly create fonts..