Sujet : Re: Back & Forth - A programming tale in graphic detail
De : albert (at) *nospam* spenarnc.xs4all.nl
Groupes : comp.lang.forthDate : 30. Jan 2025, 15:20:56
Autres entêtes
Organisation : KPN B.V.
Message-ID : <nnd$3add6976$637b8eeb@7a29856022e00472>
References : 1 2 3 4
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <
nnd$4a833881$5594a625@23fe4f00fa62d734>,
<
albert@spenarnc.xs4all.nl> wrote:
In article <02591b0a10d44b799c1d99f47ca64442@www.novabbs.com>,
minforth <minforth@gmx.net> wrote:
Nice to see somenone coping with graphics in Forth!
>
Just to mention a different approach using an external
plotting library:
https://www.dislin.de/index.html
>
Maybe I'm strange but I do believe they can't say they support SUSE.
There must be a canvas to draw line on. At least this must
be SUSE + X windows system.
I spoke too soon. There it is in the middle of the introduction.
"
The supported display types are VGA, X Windows, Windows API and OpenGL.
"
Sincere apologies to Helmit Michels.
Nowadays there is talk of Wayland. It is another concession to MS-Windows
where the terminal is drawn into the kernel (for speed and gaming).
Things foreseen, X may no longer work in the future as far as I
can tell.
The conclusion is that it may not work on Wayland, and this is documented.
gforth mpeforth can use it, because they support run time linking to
shared object libraries in Linux.
I can do this in Microsoft ("dll"), but there I can ignore the
types of parameters. What is present in gforth adds type protection to
calls, which forces type protection into Forth which is pain.
Type information is not helpful. What helps is specifying out of order
what I supply is
dll calls are simple:
call[ x par5 R> par3 .... handle call]
This means that it is easier to use dislink on ms-windows than on linux.
>
Groetjes Albert
--
Temu exploits Christians: (Disclaimer, only 10 apostles)
Last Supper Acrylic Suncatcher - 15Cm Round Stained Glass- Style Wall
Art For Home, Office And Garden Decor - Perfect For Windows, Bars,
And Gifts For Friends Family And Colleagues.
-- Temu exploits Christians: (Disclaimer, only 10 apostles)Last Supper Acrylic Suncatcher - 15Cm Round Stained Glass- Style WallArt For Home, Office And Garden Decor - Perfect For Windows, Bars,And Gifts For Friends Family And Colleagues.