[visionegg] centering pictures

now, with

   x = screen.size[0]/2 - texture.orig.size[0]/2
   y = screen.size[1]/2 - texture.orig.size[1]/2

   # Load the texture to OpenGL, prepare for display
   stimulus = TextureStimulus(texture = texture,
                               size = texture.orig.size[0),
                               lowerleft=(x,y))

it works fine

just had to put .orig to texture.size[0]

christoph

======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: