Deutsch   English   Français   Italiano  
<5587b27bb697a686c9c916ae9739379b2f4342a9.camel@gmail.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: news.eternal-september.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wij <wyniijj5@gmail.com>
Newsgroups: comp.lang.c++
Subject: Re: 'Graphics' of libwy
Date: Mon, 23 Dec 2024 14:32:38 +0800
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <5587b27bb697a686c9c916ae9739379b2f4342a9.camel@gmail.com>
References: <4ffeda4ce7116f70754bcfcaee87cb729081fac3.camel@gmail.com>
	 <vjqhau$1ceif$1@dont-email.me> <vjs2do$1p3ce$1@dont-email.me>
	 <vjs7a7$1qa1n$1@dont-email.me> <vjs8uq$1qgh4$1@dont-email.me>
	 <vjsaa3$1qrhs$1@dont-email.me> <vjtvvk$2787g$1@dont-email.me>
	 <vju3t1$27s6m$1@dont-email.me> <87cyho7l0y.fsf@nosuchdomain.example.com>
	 <949627852d304fe2c28e4b02e1c2c8f1b92dcf02.camel@gmail.com>
	 <875xngxv69.fsf@nosuchdomain.example.com>
	 <46376a6ea82da504381a6431a4f21014d9a30a3f.camel@gmail.com>
	 <871py4xq9y.fsf@nosuchdomain.example.com>
	 <s_idnQttB9Q9Jfn6nZ2dnZfqnPednZ2d@giganews.com>
	 <87wmfvw4aq.fsf@nosuchdomain.example.com>
	 <87seqjw1ee.fsf@nosuchdomain.example.com>
	 <6523746156b3a0a3905a94f90ddb06f4ca6d7949.camel@gmail.com>
	 <f16848a99a961b30d5beb5213048296c3168a88e.camel@gmail.com>
	 <vka76m$rbmf$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Date: Mon, 23 Dec 2024 07:32:39 +0100 (CET)
Injection-Info: dont-email.me; posting-host="382ec40f723dfb6b7cc8b8869d47d13c";
	logging-data="1151164"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/UYU6eZ5qMPQLQu3yig+44"
User-Agent: Evolution 3.54.2 (3.54.2-1.fc41)
Cancel-Lock: sha1:HbKrbXv84uendMQnDZb7/MpCILE=
In-Reply-To: <vka76m$rbmf$1@dont-email.me>

On Sun, 2024-12-22 at 15:26 -0800, Chris M. Thomasson wrote:
> On 12/22/2024 10:50 AM, wij wrote:
> [...]
> > I just wrote two program (face_svr.cpp, face_cli.cpp) to test what I th=
ought.
> > It looks plausible using C++ to write graphic programs without using an=
y
> > graphic library. Dream come true! 'C++ graphics' is possible and easy.
>=20
> Well, sure. PPM's are rather easy to create. :^)
>=20
> Creating OBJ files in C/C++ is rather easy as well.

For simple GUI, e.g. drawing graph of math. functions, statistics, Mandelbr=
ot
set,...) is no problem.

int main() {
 Array2D<Pixel> img;
 draw_mand(img);
 put_image("graphics_server", img);
 zoom_event_handler();
}

The solution of C++ graphics (or GUI) is no graphics in C++.