MeVisLab Toolbox Reference
mlGLHiDPI.h File Reference
#include "mlOpenGLSystem.h"
#include "mlOpenGL.h"

Go to the source code of this file.

Functions

ML_OPENGL_START_NAMESPACE MLOPENGL_EXPORT void glLineWidthScaled (GLfloat width)
 Sets the width of rasterized lines. More...
 
MLOPENGL_EXPORT void glPointSizeScaled (GLfloat size)
 Sets the diameter of rasterized points. More...
 
MLOPENGL_EXPORT void glLineStippleScaled (GLint factor, GLushort pattern)
 Sets the line stipple pattern. More...
 
MLOPENGL_EXPORT GLfloat setGLHiDPIScaleFactor (GLfloat factor)
 Sets the scale factor that is applied to size parameters of GL functions. More...
 
MLOPENGL_EXPORT GLfloat getGLHiDPIScaleFactor ()
 Returns the scale factor that is applied to size parameters of GL functions. More...
 
MLOPENGL_EXPORT void pushAndSetGLHiDPIScaleFactor (GLfloat factor)
 Pushes the current scale factor onto the scale factor stack and sets the given scale factor. More...
 
MLOPENGL_EXPORT void popGLHiDPIScaleFactor ()
 Restores the previous scale factor from the scale factor stack. More...
 
template<class T >
ML_OPENGL_END_NAMESPACE T GLHiDPIScale (T x)
 Convenience template function to scale a value. More...