25ML_OPENGL_START_NAMESPACE
63ML_OPENGL_END_NAMESPACE
69 return static_cast<T>(
static_cast<GLfloat
>(x) * ML_OPENGL_NAMESPACE::getGLHiDPIScaleFactor());
void popGLHiDPIScaleFactor()
Restores the previous scale factor from the scale factor stack.
GLfloat getGLHiDPIScaleFactor()
Returns the scale factor that is applied to size parameters of GL functions.
void pushAndSetGLHiDPIScaleFactor(GLfloat factor)
Pushes the current scale factor onto the scale factor stack and sets the given scale factor.
GLfloat setGLHiDPIScaleFactor(GLfloat factor)
Sets the scale factor that is applied to size parameters of GL functions.
T GLHiDPIScale(T x)
Convenience template function to scale a value.
void glLineWidthScaled(GLfloat width)
Sets the width of rasterized lines.
void glLineStippleScaled(GLint factor, GLushort pattern)
Sets the line stipple pattern.
void glPointSizeScaled(GLfloat size)
Sets the diameter of rasterized points.
#define MLOPENGL_EXPORT
Macro to put all following stuff into the namespace ML_NAMESPACE to avoid collisions with symbols of ...