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