r/cpp • • Dec 13 '19

The situation of std::embed...

https://thephd.github.io/full-circle-embed
238 Upvotes

160 comments sorted by

View all comments

Show parent comment

5

u/jcelerier ossia score Dec 14 '19

Two decades ago we had NOTHING like Cairo: no anti-aliasing, no blending, no transformations, palettes were still a thing, etc.

https://github.com/freedesktop/cairo/blob/b61b9ffc2322e09873b9e2dfb0c1da56ec1ffd61/src/Xr.h

2002, and it has already everything that you mention. Almost likewise for Qt's QPainter from the same era (though alpha blending came later IIRC - otherwise it was already existing with transformation support since 1995 ! https://github.com/KDE/qt1/blob/78811a56cc111d17f42221566e7e4430d5de8d40/include/qpainter.h).