Blender
V3.3
|
#include <GHOST_SystemWayland.h>
Public Attributes | |
struct wl_output * | wl_output = nullptr |
struct zxdg_output_v1 * | xdg_output = nullptr |
int32_t | size_native [2] = {0, 0} |
int32_t | size_mm [2] = {0, 0} |
int32_t | size_logical [2] = {0, 0} |
bool | has_size_logical = false |
int32_t | position_logical [2] = {0, 0} |
bool | has_position_logical = false |
int | transform = 0 |
int | scale = 1 |
wl_fixed_t | scale_fractional = wl_fixed_from_int(1) |
bool | has_scale_fractional = false |
std::string | make |
std::string | model |
Definition at line 58 of file GHOST_SystemWayland.h.
bool output_t::has_position_logical = false |
Definition at line 71 of file GHOST_SystemWayland.h.
bool output_t::has_scale_fractional = false |
Definition at line 84 of file GHOST_SystemWayland.h.
Referenced by output_scale_cmp(), and outputs_max_scale_or_default().
bool output_t::has_size_logical = false |
Definition at line 67 of file GHOST_SystemWayland.h.
std::string output_t::make |
Definition at line 86 of file GHOST_SystemWayland.h.
std::string output_t::model |
Definition at line 87 of file GHOST_SystemWayland.h.
int32_t output_t::position_logical[2] = {0, 0} |
Monitor position in pixels.
Definition at line 70 of file GHOST_SystemWayland.h.
int output_t::scale = 1 |
Definition at line 74 of file GHOST_SystemWayland.h.
Referenced by output_scale_cmp(), and outputs_max_scale_or_default().
wl_fixed_t output_t::scale_fractional = wl_fixed_from_int(1) |
The integer scale
value should be used in almost all cases, as this is what is used for most API calls. Only use fractional scaling to calculate the DPI.
Definition at line 83 of file GHOST_SystemWayland.h.
Referenced by output_scale_cmp(), and outputs_max_scale_or_default().
int32_t output_t::size_logical[2] = {0, 0} |
Definition at line 66 of file GHOST_SystemWayland.h.
int32_t output_t::size_mm[2] = {0, 0} |
Dimensions in millimeter.
Definition at line 64 of file GHOST_SystemWayland.h.
int32_t output_t::size_native[2] = {0, 0} |
Dimensions in pixels.
Definition at line 62 of file GHOST_SystemWayland.h.
int output_t::transform = 0 |
Definition at line 73 of file GHOST_SystemWayland.h.
struct wl_output* output_t::wl_output = nullptr |
Definition at line 59 of file GHOST_SystemWayland.h.
Referenced by ghost_wl_output_user_data().
struct zxdg_output_v1* output_t::xdg_output = nullptr |
Definition at line 60 of file GHOST_SystemWayland.h.