Deutsch English Français Italiano |
<vkbc9q$158la$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Muttley@dastardlyhq.com Newsgroups: comp.lang.c++ Subject: Re: 'Graphics' of libwy Date: Mon, 23 Dec 2024 09:59:22 -0000 (UTC) Organization: A noiseless patient Spider Lines: 31 Message-ID: <vkbc9q$158la$1@dont-email.me> 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> <5587b27bb697a686c9c916ae9739379b2f4342a9.camel@gmail.com> Content-Type: text/plain; charset="UTF-8" Injection-Date: Mon, 23 Dec 2024 10:59:23 +0100 (CET) Injection-Info: dont-email.me; posting-host="c01ae6631e395cd82f0f18188cb83ea9"; logging-data="1221290"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+AmtDnoG5H14LTj2ckmyp+" Cancel-Lock: sha1:a80vNnVks8ZuG++PhI5+s7zTA/A= Bytes: 2662 On Mon, 23 Dec 2024 14:32:38 +0800 wij <wyniijj5@gmail.com> gabbled: >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++. And that'll work with X windows will it? Where you are setting the display IP and screen number or does it just always use the default?