Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::web::BackingStore Struct Reference

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.

Detailed Description

Canvas backing-store size and the scale factor handed to the Skia surface.

Member Data Documentation

◆ height

uint32_t pulp::view::web::BackingStore::height = 0

canvas.height (device pixels)

◆ scale_factor

float pulp::view::web::BackingStore::scale_factor = 1.0f

SkiaSurface scale — the devicePixelRatio.

◆ width

uint32_t pulp::view::web::BackingStore::width = 0

canvas.width (device pixels)


The documentation for this struct was generated from the following file: