-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapint.1
90 lines (90 loc) · 1.63 KB
/
apint.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
.Dd September 04, 2023
.Dt APINT 1
.Sh NAME
.Nm apint
.Nd primitive paint application for X
.Sh SYNOPSIS
.Nm
.Op Fl fhv
.Op Fl l Ar file
.Op Fl s Ar size
.Op Fl b Ar bg_color
.Sh DESCRIPTION
The
.Nm
application lets you draw over an empty canvas or one loaded from a png file.
.Sh OPTIONS
.Bl -tag -width indent
.It Fl f
start in fullscreen mode
.It Fl h
show usage
.It Fl v
display the program version
.It Fl l
load canvas from png file
.It Fl s
create a canvas of the specified size
.It Fl b
create a canvas with the specified background color
.El
.Sh EXAMPLES
.Bl -tag -width indent
.It create a 640x480 white canvas
apint -s 640x480
.It create a 640x480 transparent canvas
apint -s 640x480 -b 0x00000000
.It draw over a freshly taken screenshot
apint -f -l $(xscreenshot -p -d $(mktemp -d))
.El
.Sh KEYBOARD BINDINGS
.Bl -tag -width indent
.It Ctrl+s
Save the current canvas to a file.
.It Ctrl+z
Undo (If compiled with history support).
.It Ctrl+y
Redo (If compiled with history support).
.It r
Set color to red.
.It g
Set color to green.
.It b
Set color to blue.
.It w
Set color to white.
.It q
Set color to black.
.It o
Set color to orange.
.It y
Set color to yellow.
.It f
Set color to fuchsia.
.It t
Set color to teal.
.It c
Set color to cream.
.It z
Set color to transparent.
.El
.Sh MOUSE BINDINGS
.Bl -tag -width indent
.It Left Mouse Button
Draw.
.It Right Mouse Button
Open the color selection tool.
.It Middle Mouse Button
Move around.
.It Scroll Up/Down
Change brush size.
.El
.Sh SEE ALSO
.Xr X 7
.Xr zinc 1
.Xr png 5
.Xr xscreenshot 1
.Sh AUTHORS
.An alpheratz0 Aq Mt alpheratz99@protonmail.com
.Sh BUGS
https://github.com/alpheratz0/apint/issues