2D Computer Graphics in modern C++ and standard library
- Добавил: literator
- Дата: 21-05-2023, 15:52
- Комментариев: 0
![2D Computer Graphics in modern C++ and standard library](/uploads/posts/2023-05/1684673588_8781_2d_comput_r_graphics_in_mod_rn_c___and_standard_library.jpg)
Автор: Hakan Blomqvist
Издательство: Leanpub
Год: 2023-05-14
Страниц: 465
Язык: английский
Формат: pdf (true) + Extras
Размер: 84.5 MB
This book focuses on simplifying graphics creation in standard C++. It solves common challenges like handling image files and testing animation sprites. Addressing fundamental questions on drawing pixels, lines, and circles enables easier graphic creation for presentations, collaborations, and investigations.
We have all been there when you just want to present som data in a nice and graphical way. You start by implementing a GUI library so that you can set up a canvas to draw on… but then what? Or you download and build a library that can handle reading and writing PNG images, as you need lossless images. Or you do the same just to find out a files entropy. Or you’re coding on a game and want to test the look of animation sprites in a parallax setting. What ever the reason is… it’s too complicated to do and takes more time than you would consider doing. So no presentation, no collaboration, and no investigation using graphics.
It should just be easy to create graphics in standard C++. And this book is all about that. How do we draw a pixel, a line, or a circle? That is questions we going to answer.
All code is compiled using clang++, but of course works fine with g++. Everything is C++17 except std::lerp, as its part of C++20 (a C++17 solution will be presented).
Prerequisite:
You’ll need to already know how to program in C++. This book is about how to draw and and not about how to program.
Скачать 2D Computer Graphics in modern C++ and standard library
![](/templates/LitmyL/images/LitMyru.png)
[related-news] [/related-news]
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.