[fpc-pascal]Trivial Graphics on Linux?

Rainer Hantsch rainer at hantsch.co.at
Tue Oct 21 11:57:31 CEST 2003


I am interested in a demo which does really trivial graphics on LINUX,
compiles fine with FPC 1.0.4, and does basically that what a normal
TurboPascal for DOS can do with its graph unit.

Because Linux uses X11, it would be perfect when everything would work in X11,
with a subset of X11 (open application in a window, allocate the whole window
as one graphics area, and then set/reset pixels as the DOS counterpart does.

Does somebody have code for that? It is definitely not my target to start with
a complete GTK environment. This is bady supported in procedural programming
mode and causes an extreme overhead. Having a simple pixel-array which can be
accessed by using the ordinary fpc graph unit would be perfect.


  Ing. Rainer Hantsch

|      \\|//              Ing. Rainer HANTSCH  -  Hardware + Software |
|      (o o)        Service - Support - WEB-Design und Programmierung |
| Ing. Rainer HANTSCH |  mail: office at hantsch.co.at                   |
| Khunngasse 21/20    |   www: http://www.hantsch.co.at               |
| A-1030 Vienna       |   tel: +43-1-79885380    fax: +43-1-798853818 |
| ** A u s t r i a ** | handy: +43-664-9194382   UID-Nr: ATU 11134002 |

More information about the fpc-pascal mailing list