Skip to Content
C++ GUI Programming with Qt 4
book

C++ GUI Programming with Qt 4

by Jasmin Blanchette, Mark Summerfield
June 2006
Intermediate to advanced
560 pages
12h 14m
English
Pearson
Content preview from C++ GUI Programming with Qt 4

Chapter 8. 2D and 3D Graphics

2D and 3D Graphics

Qt’s 2D graphics engine is based on the QPainter class. QPainter can draw geometric shapes (points, lines, rectangles, ellipses, arcs, chords, pie segments, polygons, and Bézier curves), as well as pixmaps, images, and text. Furthermore, QPainter supports advanced features such as antialiasing (for text and shape edges), alpha blending, gradient filling, and vector paths. QPainter also supports transformations, which makes it possible to draw resolution-independent 2D graphics.

QPainter can be used to draw on a ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C++ GUI Programming with Qt 4

C++ GUI Programming with Qt 4

Jasmin Blanchette, Mark Summerfield
Programming with Qt, 2nd Edition

Programming with Qt, 2nd Edition

Matthias Kalle Dalheimer

Publisher Resources

ISBN: 0131872494Purchase book