Canvas backing-store size and the scale factor handed to the Skia surface. More...
#include <web_event_translate.hpp>
Public Attributes | |
| uint32_t | width = 0 |
| canvas.width (device pixels) | |
| uint32_t | height = 0 |
| canvas.height (device pixels) | |
| float | scale_factor = 1.0f |
| SkiaSurface scale — the devicePixelRatio. | |
Canvas backing-store size and the scale factor handed to the Skia surface.
| uint32_t pulp::view::web::BackingStore::height = 0 |
canvas.height (device pixels)
| float pulp::view::web::BackingStore::scale_factor = 1.0f |
SkiaSurface scale — the devicePixelRatio.
| uint32_t pulp::view::web::BackingStore::width = 0 |
canvas.width (device pixels)