Trim trailing space samples directory

This commit is contained in:
Metallicow
2016-12-05 16:34:47 -06:00
parent 067569d785
commit 01f8f09f60
58 changed files with 692 additions and 693 deletions

View File

@@ -50,7 +50,7 @@ class TestPanel(wx.Panel):
tm = t.timeit(num)
log.write("%d passes creating %dx%d images in %f seconds\n"
"\t%f seconds per pass " % (num, DIM,DIM, tm, tm/num))
if not USE_NUMPY:
log.write("using raw access\n")
self.redBmp = self.MakeBitmap(178, 34, 34)
@@ -122,7 +122,7 @@ class TestPanel(wx.Panel):
pixels.Set(red, green, blue, wx.ALPHA_OPAQUE)
pixels.MoveTo(pixelData, DIM-1, y)
pixels.Set(red, green, blue, wx.ALPHA_OPAQUE)
return bmp
@@ -149,9 +149,9 @@ class TestPanel(wx.Panel):
# finally, use the array to create a bitmap
bmp = wx.Bitmap.FromBufferRGBA(DIM, DIM, arr)
return bmp
#----------------------------------------------------------------------
if __name__ == '__main__':
@@ -160,4 +160,4 @@ if __name__ == '__main__':
pnl = TestPanel(frm, sys.stdout)
frm.Show()
app.MainLoop()