Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
asdelm
primes
Commits
4ae9930b
Commit
4ae9930b
authored
Nov 25, 2020
by
asdelm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rumnumnum
parent
f7e4df99
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test.py
test.py
+1
-1
No files found.
test.py
View file @
4ae9930b
...
...
@@ -4,7 +4,7 @@ pg.init()
size
=
width
,
height
=
960
,
640
font0
=
pg
.
font
.
SysFont
(
'liberationmono'
,
15
)
img
=
pg
.
image
.
load
(
input
(
'image:'
))
def
returnL
(
txt
,
img
=
img
,
pos
=
(
0
,
0
),
font
=
font0
,
prnt
=
True
,
col
=
(
0
,
0
,
0
),
aali
=
False
,
format
=
width
):
#skip lines->dict{L1:Pos1...}
def
returnL
(
txt
,
img
=
img
,
pos
=
(
0
,
0
),
font
=
font0
,
prnt
=
True
,
col
=
(
0
,
0
,
0
),
aali
=
False
,
format
=
width
):
yup
=
[
""
]
i
,
j
,
w
,
h
=
0
,
0
,
0
,
0
imw
=
img
.
get_rect
().
width
-
font
.
size
(
' '
)[
0
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment