Device Generator 1.0.3
Devices, browsers, user agents and IP addresses that fit together for C++23
Loading...
Searching...
No Matches
dasmig::device_screen Struct Reference

A screen in CSS pixels. More...

#include <devicegen.hpp>

Public Attributes

int width {0}
 Width in CSS pixels (portrait for phones and tablets).
 
int height {0}
 Height in CSS pixels.
 
double pixel_ratio {0.0}
 Device pixels per CSS pixel.
 

Detailed Description

A screen in CSS pixels.

Definition at line 122 of file devicegen.hpp.

Member Data Documentation

◆ height

int dasmig::device_screen::height {0}

Height in CSS pixels.

Definition at line 125 of file devicegen.hpp.

◆ pixel_ratio

double dasmig::device_screen::pixel_ratio {0.0}

Device pixels per CSS pixel.

Definition at line 126 of file devicegen.hpp.

◆ width

int dasmig::device_screen::width {0}

Width in CSS pixels (portrait for phones and tablets).

Definition at line 124 of file devicegen.hpp.


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