|
Blender V4.5
|
#include <GHOST_SystemWayland.hh>
Public Attributes | ||
| struct { | ||
| wl_output * output = nullptr | ||
| } | wl | |
| struct { | ||
| struct zxdg_output_v1 * output = nullptr | ||
| } | xdg | |
| GHOST_SystemWayland * | system = 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 | |
| int | scale_fractional = (1 * FRACTIONAL_DENOMINATOR) | |
| bool | has_scale_fractional = false | |
| std::string | make | |
| std::string | model | |
Definition at line 93 of file GHOST_SystemWayland.hh.
| bool GWL_Output::has_position_logical = false |
Definition at line 130 of file GHOST_SystemWayland.hh.
| bool GWL_Output::has_scale_fractional = false |
Definition at line 143 of file GHOST_SystemWayland.hh.
Referenced by output_scale_cmp(), outputs_max_scale_or_default(), and outputs_uniform_scale_or_default().
| bool GWL_Output::has_size_logical = false |
Definition at line 126 of file GHOST_SystemWayland.hh.
| std::string GWL_Output::make |
Definition at line 145 of file GHOST_SystemWayland.hh.
| std::string GWL_Output::model |
Definition at line 146 of file GHOST_SystemWayland.hh.
| wl_output* GWL_Output::output = nullptr |
Definition at line 97 of file GHOST_SystemWayland.hh.
Referenced by gwl_registry_wl_output_update().
| struct zxdg_output_v1* GWL_Output::output = nullptr |
Definition at line 102 of file GHOST_SystemWayland.hh.
| int32_t GWL_Output::position_logical[2] = {0, 0} |
Monitor position in pixels.
Definition at line 129 of file GHOST_SystemWayland.hh.
Referenced by xdg_output_handle_logical_position().
| int GWL_Output::scale = 1 |
Definition at line 133 of file GHOST_SystemWayland.hh.
Referenced by output_handle_scale(), output_scale_cmp(), outputs_max_scale_or_default(), and outputs_uniform_scale_or_default().
| int GWL_Output::scale_fractional = (1 * FRACTIONAL_DENOMINATOR) |
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 142 of file GHOST_SystemWayland.hh.
Referenced by output_scale_cmp(), outputs_max_scale_or_default(), and outputs_uniform_scale_or_default().
| int32_t GWL_Output::size_logical[2] = {0, 0} |
Dimensions in logical points.
size_native of 1600x1200 would have a size_logical of 800x600.transform flag has been applied. Definition at line 125 of file GHOST_SystemWayland.hh.
| int32_t GWL_Output::size_mm[2] = {0, 0} |
Dimensions in millimeter.
Definition at line 115 of file GHOST_SystemWayland.hh.
| int32_t GWL_Output::size_native[2] = {0, 0} |
Dimensions in pixels.
transform flag has not been applied. So a vertical monitor will still have a larger width. Definition at line 113 of file GHOST_SystemWayland.hh.
Referenced by output_handle_mode(), and xdg_output_handle_logical_size().
| GHOST_SystemWayland* GWL_Output::system = nullptr |
Definition at line 105 of file GHOST_SystemWayland.hh.
Referenced by gwl_registry_wl_output_add().
| int GWL_Output::transform = 0 |
Definition at line 132 of file GHOST_SystemWayland.hh.
Referenced by output_handle_geometry().
| struct { ... } GWL_Output::wl |
Wayland core types.
| struct { ... } GWL_Output::xdg |
XDG native types.
Referenced by gwl_registry_wl_output_update().