From 6b8dc2e243e7c726fd8644d9ef749e0ccf88e64c Mon Sep 17 00:00:00 2001 From: daid303 Date: Wed, 16 Jan 2013 11:48:27 +0100 Subject: [PATCH] Update on the font draw. --- Cura/gui/util/opengl.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Cura/gui/util/opengl.py b/Cura/gui/util/opengl.py index 37a4c54e..9522fa5f 100644 --- a/Cura/gui/util/opengl.py +++ b/Cura/gui/util/opengl.py @@ -212,7 +212,8 @@ def DrawMachine(machineSize): glPushMatrix() glTranslate(23, 0, 0) noZ = ResetMatrixRotationAndScale() - glRasterPos2f(-2,-2) + glRasterPos2f(0,0) + glBitmap(0,0,0,0, -5, -5, None) glutBitmapCharacter(GLUT_BITMAP_HELVETICA_18, ord('X')) glPopMatrix() @@ -220,8 +221,8 @@ def DrawMachine(machineSize): glColor3f(0, 1, 0) glPushMatrix() glTranslate(0, 23, 0) - ResetMatrixRotationAndScale() - glRasterPos2f(-2,-2) + glRasterPos2f(0,0) + glBitmap(0,0,0,0, -5, -5, None) glutBitmapCharacter(GLUT_BITMAP_HELVETICA_18, ord('Y')) glPopMatrix() @@ -230,8 +231,8 @@ def DrawMachine(machineSize): glColor3f(0, 0, 1) glPushMatrix() glTranslate(0, 0, 23) - ResetMatrixRotationAndScale() - glRasterPos2f(-2,-2) + glRasterPos2f(0,0) + glBitmap(0,0,0,0, -5, -5, None) glutBitmapCharacter(GLUT_BITMAP_HELVETICA_18, ord('Z')) glPopMatrix() -- 2.30.2