News for hackers. Stuff that matters.
Re:A Proposal to Add 2D Graphics Rendering and Display to C... by fyolnish on Tuesday January 21, 2014 @01:55AM (#7093851)
Cairo & <canvas>'s drawing models are rather similar iirc.
Re:A Proposal to Add 2D Graphics Rendering and Display to C... by thristian on Tuesday January 21, 2014 @03:41AM (#7094116)
The <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.

Re:A Proposal to Add 2D Graphics Rendering and Display to C... by ygra on Tuesday January 21, 2014 @02:05AM (#7093868)
As are pretty much all immediate-mode 2D graphics APIs, except maybe OpenGL (when used as such).