[css-houdini-drafts] [css-paint-api] Add property to context for expected rendered bitmap size.

flackr has just created a new issue for https://github.com/w3c/css-houdini-drafts:

== [css-paint-api] Add property to context for expected rendered bitmap size. ==
The rendering context in https://drafts.css-houdini.org/css-paint-api-1/#2d-rendering-context defines the output bitmap size to be the size of the fragment being rendered however the actual size of the rendered bitmap used internally may vary.

In order to allow output density sensitive painting we may want to expose the size of the rendered bitmap (or raster backing scale) we intend to use (or an approximation) so that the author may produce a better rendering for that output size. The author may also use this to reduce the quality of their rendering given an extremely low density (i.e. preview sized renderings may not need to paint as much) or to paint hairline lines.

Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/436 using your GitHub account

Received on Tuesday, 1 August 2017 09:43:49 UTC