Pure: compute the integer device-pixel backing-buffer size for a canvas. Here rather than in core/canvas.ts so a renderer can take it by path without reaching back into the core.
Pure: compute the integer device-pixel backing-buffer size for a canvas. Here rather than in core/canvas.ts so a renderer can take it by path without reaching back into the core.