5 ms·
Cairo & <canvas>'s drawing models are rather similar iirc.
by fyolnish 13y ago
Cairo & <canvas>'s drawing models are rather similar iirc.
- ygra 13y agoAs are pretty much all immediate-mode 2D graphics APIs, except maybe OpenGL (when used as such).
- thristian 13y agoThe <canvas> drawing model is a very thin layer over the Mac OS X Cocoa drawing model (because it was originally developed by Apple as a proprietary extension to Webkit). The Cocoa drawing model is based on the "Display PDF" model, which is a descendant of the "Display Postscript" system used by the original NeXT OS, which of course was derived from the PostScript page layout language. I think Cairo just borrowed the PostScript drawing model from the start.