コード例 #1
0
 def use_list(self):
     Mark.use_list(self)
     gluttext.glutRenderText(self.text,self.font)
コード例 #2
0
 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)
コード例 #3
0
 def drawGL(self,**kargs):
     if self.color is not None:
         GL.glColor3fv(self.color)
     GL.glRasterPos3fv(self.pos)
     gluttext.glutRenderText(self.text,self.font)
コード例 #4
0
 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)
コード例 #5
0
 def drawGL(self,**kargs):
     if self.color is not None:
         GL.glColor3fv(self.color)
     GL.glRasterPos3fv(self.pos)
     gluttext.glutRenderText(self.text,self.font)
コード例 #6
0
 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)