psychopy/psychopy — pull request #176 by jamesmcm (2012-07-09 10:00:34+00:00)
Title: Small patch to give warning if SimpleImageStim does not fit the window due to position and size

This just writes a warning if the SimpleImageStim is such that it will draw outside the window.

What is strange though, is that PsychoPy only draws a black screen if the position values are negative (i.e. moving left) and it cuts off. If it cuts off to the right, it just draws the stimuli but with part of it cut off. I'll try to investigate the source of this asymmetry if I get the time. In the meantime, at least this provides a warning when this occurs.