Sujet : Re: 'Graphics' of libwy
De : ross.a.finlayson (at) *nospam* gmail.com (Ross Finlayson)
Groupes : comp.lang.c++Date : 20. Dec 2024, 02:38:25
Autres entêtes
Message-ID : <xPOdndalhvMuV_n6nZ2dnZfqnPGdnZ2d@giganews.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
On 12/19/2024 05:07 PM, Keith Thompson wrote:
Ross Finlayson <ross.a.finlayson@gmail.com> writes:
On 12/18/2024 08:14 PM, Keith Thompson wrote:
wij <wyniijj5@gmail.com> writes:
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'?
>
Do you really not know what a pixel is?
>
I think it is possible to handle and display a photo using 'cout'
>
Possible? Sure.
Desirable? Rarely.
Worth standardizing in the C++ standard? Nope.
>
[...]
>
Pixel = "picture element"
>
You do know what a pixel is. So why did you ask?
>
[Long list of definitions of terms deleted]
>
I don't know what point you're trying to make.
>
It's a bit of the long-and-short of graphics and formats is all.
There's raster graphics and there's vector graphics,
there's procedural graphics, it results being to or
from raw or bitmaps, or according to box or drawing fonts,
a drawing context, say, the bpp and the ppi and the
color model, that for rendering fonts is a particular
sort of language itself combining bitmap and procedural
graphics and size hints in vector graphics, it's just
figured that a "graphics library" starts getting
involved with, for example, rendering fonts and bitmaps
on the screen, it was for the libwy guy.
The libwy guy's and excuse me if I get that wrong,
I've enjoyed his posts about portability and design
and these kinds of things, then for example the ideas
about language profiles, of C++, like when to use what
features, vis-a-vis "really vanilla C++", it's meant to amuse.
Dealing with graphics is like for a buffer, with the
"stride stripe striqe stribe" sort of result the usual
idea of a 2-D array in a 1-D array, then drawing primitives
is a key things, then, for text, is about rendering fonts.
Synthetic-natural hybrid coding?