MeVisLab Resolution Independence API
|
Functions | |
GLfloat | ml::setGLHiDPIScaleFactor (GLfloat factor) |
Sets the scale factor that is applied to size parameters of GL functions. | |
GLfloat | ml::getGLHiDPIScaleFactor () |
Returns the scale factor that is applied to size parameters of GL functions. | |
void | ml::pushAndSetGLHiDPIScaleFactor (GLfloat factor) |
Pushes the current scale factor onto the scale factor stack and sets the given scale factor. | |
void | ml::popGLHiDPIScaleFactor () |
Restores the previous scale factor from the scale factor stack. | |
double | SoResolutionIndependentViewerProxy::getDevicePixelRatio () override |
Returns the ratio between physical pixels and device-independent pixels for the viewer. | |
double | SoQtViewerProxy::getDevicePixelRatio () override |
Returns the ratio between physical pixels and device-independent pixels for the viewer. | |
|
overridevirtual |
Returns the ratio between physical pixels and device-independent pixels for the viewer.
Reimplemented from SoViewerProxy.
|
overridevirtual |
Returns the ratio between physical pixels and device-independent pixels for the viewer.
Reimplemented from SoViewerProxy.
GLfloat ml::getGLHiDPIScaleFactor | ( | ) |
Returns the scale factor that is applied to size parameters of GL functions.
References ml::getGLHiDPIScaleFactor().
Referenced by ml::getGLHiDPIScaleFactor().
void ml::popGLHiDPIScaleFactor | ( | ) |
Restores the previous scale factor from the scale factor stack.
References ml::popGLHiDPIScaleFactor().
Referenced by ml::popGLHiDPIScaleFactor().
void ml::pushAndSetGLHiDPIScaleFactor | ( | GLfloat | factor | ) |
Pushes the current scale factor onto the scale factor stack and sets the given scale factor.
References ml::pushAndSetGLHiDPIScaleFactor().
Referenced by ml::pushAndSetGLHiDPIScaleFactor().
GLfloat ml::setGLHiDPIScaleFactor | ( | GLfloat | factor | ) |
Sets the scale factor that is applied to size parameters of GL functions.
Returns the previous scale factor.
References ml::setGLHiDPIScaleFactor().
Referenced by ml::setGLHiDPIScaleFactor().