mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-16 03:30:34 +01:00
programs to use it: put the main program code in a function with signature
"function graphprog(p: pointer): longint;" and then start the program
by calling "StartGraphProgram(@graphprog);"
* compilation not yet enabled because graph needs to be moved to
packages/extra first (since this graph unit depends on packages/extra/
univint), and it's also not yet really polished (e.g. hardcoded to
640x480x256 colors)
* Something which will probably never work correctly:
* getpixel (and therefore also and/or/xorput), because you cannot
completely disable anti-aliasing in quartz. Further, the quartz api
requires floating point color component values when drawing, while
the bitmap from which we read the pixels back represents the colors
component values as bytes (which causes extra rounding errors).
Only solvable if we manually duplicate all drawing in a separate
buffer (although then you still won't erase the anti-aliasing pixels
in the real bitmap). An upside of the automatic anti-aliasing is that
all drawing looks nicer.
git-svn-id: trunk@7700 -
|
||
|---|---|---|
| .. | ||
| dbus | ||
| gdbint | ||
| graph | ||
| hash | ||
| httpd | ||
| ibase | ||
| imagemagick | ||
| libasync | ||
| libc | ||
| mysql | ||
| netdb | ||
| odbc | ||
| oracle | ||
| pasjpeg | ||
| paszlib | ||
| postgres | ||
| pthreads | ||
| regexpr | ||
| sqlite | ||
| winunits | ||
| fpmake.inc | ||
| fpmake.pp | ||
| Makefile | ||
| Makefile.fpc | ||