Ejemplo n.º 1
0
 def loadImage(self, filename, label = None):
     if label:
         handle = PyUnseen.createTexture(filename)
         self.images[label] = handle            
     else:
         handle = PyUnseen.createTexture(filename)
         self.images[filename] = handle            
Ejemplo n.º 2
0
 def loadImage(self, filename, label=None):
     if label:
         handle = PyUnseen.createTexture(filename)
         self.images[label] = handle
     else:
         handle = PyUnseen.createTexture(filename)
         self.images[filename] = handle
Ejemplo n.º 3
0
 def getImageSize(self, filename):
     handle = self.images.get(filename)
     if not handle:
         handle = PyUnseen.createTexture(filename)
     return PyUnseen.getTextureSize(handle)
Ejemplo n.º 4
0
 def getImageSize(self, filename):
     handle = self.images.get(filename)
     if not handle:
         handle = PyUnseen.createTexture(filename)
     return PyUnseen.getTextureSize(handle)