示例#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            
示例#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
示例#3
0
 def getImageSize(self, filename):
     handle = self.images.get(filename)
     if not handle:
         handle = PyUnseen.createTexture(filename)
     return PyUnseen.getTextureSize(handle)
示例#4
0
 def getImageSize(self, filename):
     handle = self.images.get(filename)
     if not handle:
         handle = PyUnseen.createTexture(filename)
     return PyUnseen.getTextureSize(handle)