projekty
/
imago.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix imports in manual, better README
[imago.git]
/
src
/
manual.py
diff --git
a/src/manual.py
b/src/manual.py
index
5a18fde
..
67f58e0
100644
(file)
--- a/
src/manual.py
+++ b/
src/manual.py
@@
-1,7
+1,8
@@
"""Manual grid selection module"""
"""Manual grid selection module"""
-import ImageDraw
from math import sqrt, acos, copysign
from math import sqrt, acos, copysign
+from PIL import ImageDraw
+import pygame
from geometry import l2ad, line, intersection
from geometry import l2ad, line, intersection
@@
-23,7
+24,6
@@
class Screen:
def find_lines(im_orig):
# TODO rename, refactor, comment
def find_lines(im_orig):
# TODO rename, refactor, comment
- import pygame
im = im_orig.copy()
im = im_orig.copy()