#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/Utils/RetinaHelper.hpp>
◆ RetinaHelper()
| Slic3r::GUI::RetinaHelper::RetinaHelper |
( |
wxWindow * | window | ) |
|
15{
17 m_self = [[RetinaHelperImpl alloc] initWithView:window->GetHandle() handler:window->GetEventHandler()];
18}
void * m_self
Definition RetinaHelper.hpp:24
References m_self.
◆ ~RetinaHelper()
| Slic3r::GUI::RetinaHelper::~RetinaHelper |
( |
| ) |
|
◆ get_scale_factor()
| float Slic3r::GUI::RetinaHelper::get_scale_factor |
( |
| ) |
|
36{
37 return [(id)
m_self getViewWantsBestResolutionOpenGLSurface] ? [(
id)
m_self getBackingScaleFactor] : 1.0f;
38}
References m_self.
◆ get_use_retina()
| bool Slic3r::GUI::RetinaHelper::get_use_retina |
( |
| ) |
|
31{
32 return [(id)
m_self getViewWantsBestResolutionOpenGLSurface];
33}
References m_self.
◆ set_use_retina()
| void Slic3r::GUI::RetinaHelper::set_use_retina |
( |
bool | value | ) |
|
26{
27 [(id)
m_self setViewWantsBestResolutionOpenGLSurface:aValue];
28}
References m_self.
◆ m_self
| void* Slic3r::GUI::RetinaHelper::m_self |
|
private |
The documentation for this class was generated from the following files: