OpenCPN Partial API docs
Loading...
Searching...
No Matches
OCPN_MonitorInfo Struct Reference

Structure to hold information about a monitor. More...

#include <displays.h>

Public Attributes

std::string name
 Name of the monitor.
 
size_t width_mm
 Width of the monitor in millimeters.
 
size_t height_mm
 Height of the monitor in millimeters.
 
size_t width
 Width of the monitor in pixels.
 
size_t height
 Height of the monitor in pixels.
 
size_t width_px
 Width of the monitor in physical pixels, on eg.
 
size_t height_px
 Height of the monitor in physical pixels, on eg.
 
size_t scale
 Scaling factor in percent.
 

Detailed Description

Structure to hold information about a monitor.

Definition at line 33 of file displays.h.

Member Data Documentation

◆ height

size_t OCPN_MonitorInfo::height

Height of the monitor in pixels.

Definition at line 43 of file displays.h.

◆ height_mm

size_t OCPN_MonitorInfo::height_mm

Height of the monitor in millimeters.

Definition at line 39 of file displays.h.

◆ height_px

size_t OCPN_MonitorInfo::height_px

Height of the monitor in physical pixels, on eg.

Apple Retina displays this value differs

Definition at line 49 of file displays.h.

◆ name

std::string OCPN_MonitorInfo::name

Name of the monitor.

Definition at line 35 of file displays.h.

◆ scale

size_t OCPN_MonitorInfo::scale

Scaling factor in percent.

Definition at line 51 of file displays.h.

◆ width

size_t OCPN_MonitorInfo::width

Width of the monitor in pixels.

Definition at line 41 of file displays.h.

◆ width_mm

size_t OCPN_MonitorInfo::width_mm

Width of the monitor in millimeters.

Definition at line 37 of file displays.h.

◆ width_px

size_t OCPN_MonitorInfo::width_px

Width of the monitor in physical pixels, on eg.

Apple Retina displays this value differs

Definition at line 46 of file displays.h.


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