diff options
Diffstat (limited to 'doxygen/man/man3/schematic.3')
-rw-r--r-- | doxygen/man/man3/schematic.3 | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/doxygen/man/man3/schematic.3 b/doxygen/man/man3/schematic.3 new file mode 100644 index 0000000..f766115 --- /dev/null +++ b/doxygen/man/man3/schematic.3 @@ -0,0 +1,62 @@ +.TH "schematic" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*- +.ad l +.nh +.SH NAME +schematic \- +.SH SYNOPSIS +.br +.PP +.SS "Functions" + +.in +1c +.ti -1c +.RI "def \fBrectangle\fP" +.br +.in -1c +.SS "Variables" + +.in +1c +.ti -1c +.RI "int \fBpensize\fP = 10" +.br +.in -1c +.SH "Function Documentation" +.PP +.SS "def schematic::rectangle (x, y, _label)" +.PP +Definition at line 8 of file schematic\&.py'\&. +.PP +.nf +8 +9 def rectangle(x, y, _label): +10 pu() +11 seth(0) +12 backward(x / 2) +13 fontsize = 40 +14 pd() +15 for i in range(2): +16 forward(x) +17 left(90) +18 forward(y) +19 left(90) +20 pu() +21 forward(x / 2) +22 left(90) +23 forward(y / 2 - fontsize) +24 pd() +25 write(_label, align='center', font=('Arial', fontsize, 'bold')) +26 +27 rectangle(800, 80, 'cmd') +28 pu() +29 forward(80) +30 rectangle(200, 400, 'cmd2') + +.fi +.SH "Variable Documentation" +.PP +.SS "int \fBschematic::pensize\fP = 10" +.PP +Definition at line 4 of file schematic\&.py'\&. +.SH "Author" +.PP +Generated automatically by Doxygen for Cmd2 from the source code'\&. |