def use_list(self): Mark.use_list(self) gluttext.glutRenderText(self.text,self.font)
def draw(self,mode=None,color=None): if self.color is not None: GL.glColor3fv(self.color) for p,v in zip(self.pos,self.val): GL.glRasterPos3fv(p) gluttext.glutRenderText(self.leader+str(v),self.font)
def drawGL(self,**kargs): if self.color is not None: GL.glColor3fv(self.color) GL.glRasterPos3fv(self.pos) gluttext.glutRenderText(self.text,self.font)
def drawGL(self,**kargs): if self.color is not None: GL.glColor3fv(self.color) for p,v in zip(self.pos,self.val): GL.glRasterPos3fv(p) gluttext.glutRenderText(self.leader+str(v),self.font,self.gravity)