Sujet : Re: 'Graphics' of libwy
De : wyniijj5 (at) *nospam* gmail.com (wij)
Groupes : comp.lang.c++Date : 19. Dec 2024, 03:51:25
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <46376a6ea82da504381a6431a4f21014d9a30a3f.camel@gmail.com>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : Evolution 3.54.2 (3.54.2-1.fc41)
On Wed, 2024-12-18 at 18:29 -0800, Keith Thompson wrote:
wij <wyniijj5@gmail.com> writes:
On Wed, 2024-12-18 at 13:12 -0800, Keith Thompson wrote:
[...]
I think now the answer may lie at what the cout (terminal) is.
E.g. gnome-terminal --geometry=200x100 --zoom=0.5 -- ./a.out
a.out is now plotting on a 200x100 drawing board.
C++ can provide a graphics library, but not necessarily a GUI library.
That's a text terminal. Sure, you can do "graphics" in text mode, but I
don't think that's what anyone has been talking about.
But, what is the true thing the program is dealing with? What is 'pixel'?
I think it is possible to handle and display a photo using 'cout'
There are various kind of video devices. It is impractical for c++
to think it can provide a 'standard' for all to accept, and also not the
purpose of a language should be after (like std-library already done).
ncurses already exists.