diff options
Diffstat (limited to 'doxygen/xml/schematic_8py.xml')
-rw-r--r-- | doxygen/xml/schematic_8py.xml | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/doxygen/xml/schematic_8py.xml b/doxygen/xml/schematic_8py.xml deleted file mode 100644 index ac1de0a..0000000 --- a/doxygen/xml/schematic_8py.xml +++ /dev/null @@ -1,46 +0,0 @@ -<?xml version='1.0' encoding='UTF-8' standalone='no'?> -<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.7.5.1"> - <compounddef id="schematic_8py" kind="file"> - <compoundname>schematic.py</compoundname> - <innernamespace refid="namespaceschematic">schematic</innernamespace> - <briefdescription> - </briefdescription> - <detaileddescription> - </detaileddescription> - <programlisting> -<codeline lineno="1" refid="namespaceschematic" refkind="compound"><highlight class="keyword">from</highlight><highlight class="normal"><sp/>turtle<sp/></highlight><highlight class="keyword">import</highlight><highlight class="normal"><sp/>*</highlight></codeline> -<codeline lineno="2"><highlight class="normal">hideturtle()</highlight></codeline> -<codeline lineno="3"><highlight class="normal">width(6)</highlight></codeline> -<codeline lineno="4" refid="namespaceschematic_1a1cb5a35ce77f5d734e548d2370e95c0b" refkind="member"><highlight class="normal">pensize<sp/>=<sp/>10</highlight></codeline> -<codeline lineno="5"><highlight class="normal">pu()</highlight></codeline> -<codeline lineno="6"><highlight class="normal">goto(0,-400)</highlight></codeline> -<codeline lineno="7"><highlight class="normal"></highlight></codeline> -<codeline lineno="8" refid="namespaceschematic_1a949cac8aafe622e97cd437ffadbf07af" refkind="member"><highlight class="normal"></highlight><highlight class="keyword">def<sp/></highlight><highlight class="normal"><ref refid="namespaceschematic_1a949cac8aafe622e97cd437ffadbf07af" kindref="member">rectangle</ref>(x,<sp/>y,<sp/>_label):</highlight></codeline> -<codeline lineno="9"><highlight class="normal"><sp/><sp/><sp/><sp/>pu()</highlight></codeline> -<codeline lineno="10"><highlight class="normal"><sp/><sp/><sp/><sp/>seth(0)</highlight></codeline> -<codeline lineno="11"><highlight class="normal"><sp/><sp/><sp/><sp/>backward(x<sp/>/<sp/>2)</highlight></codeline> -<codeline lineno="12"><highlight class="normal"><sp/><sp/><sp/><sp/>fontsize<sp/>=<sp/>40</highlight></codeline> -<codeline lineno="13"><highlight class="normal"><sp/><sp/><sp/><sp/>pd()</highlight></codeline> -<codeline lineno="14"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>i<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>range(2):</highlight></codeline> -<codeline lineno="15"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>forward(x)</highlight></codeline> -<codeline lineno="16"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>left(90)</highlight></codeline> -<codeline lineno="17"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>forward(y)</highlight></codeline> -<codeline lineno="18"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>left(90)</highlight></codeline> -<codeline lineno="19"><highlight class="normal"><sp/><sp/><sp/><sp/>pu()</highlight></codeline> -<codeline lineno="20"><highlight class="normal"><sp/><sp/><sp/><sp/>forward(x<sp/>/<sp/>2)</highlight></codeline> -<codeline lineno="21"><highlight class="normal"><sp/><sp/><sp/><sp/>left(90)</highlight></codeline> -<codeline lineno="22"><highlight class="normal"><sp/><sp/><sp/><sp/>forward(y<sp/>/<sp/>2<sp/>-<sp/>fontsize)</highlight></codeline> -<codeline lineno="23"><highlight class="normal"><sp/><sp/><sp/><sp/>pd()</highlight></codeline> -<codeline lineno="24"><highlight class="normal"><sp/><sp/><sp/><sp/>write(_label,<sp/>align=</highlight><highlight class="stringliteral">'center'</highlight><highlight class="normal">,<sp/>font=(</highlight><highlight class="stringliteral">'Arial'</highlight><highlight class="normal">,<sp/>fontsize,<sp/></highlight><highlight class="stringliteral">'bold'</highlight><highlight class="normal">))<sp/><sp/><sp/><sp/></highlight></codeline> -<codeline lineno="25"><highlight class="normal"></highlight></codeline> -<codeline lineno="26"><highlight class="normal"><ref refid="namespaceschematic_1a949cac8aafe622e97cd437ffadbf07af" kindref="member">rectangle</ref>(800,<sp/>80,<sp/></highlight><highlight class="stringliteral">'cmd'</highlight><highlight class="normal">)</highlight></codeline> -<codeline lineno="27"><highlight class="normal">pu()</highlight></codeline> -<codeline lineno="28"><highlight class="normal">forward(80)</highlight></codeline> -<codeline lineno="29"><highlight class="normal"><ref refid="namespaceschematic_1a949cac8aafe622e97cd437ffadbf07af" kindref="member">rectangle</ref>(200,<sp/>400,<sp/></highlight><highlight class="stringliteral">'cmd2'</highlight><highlight class="normal">)</highlight></codeline> -<codeline lineno="30"><highlight class="normal"></highlight></codeline> -<codeline lineno="31"><highlight class="normal"></highlight><highlight class="keywordflow">while</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">True</highlight><highlight class="normal">:</highlight></codeline> -<codeline lineno="32"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">pass</highlight><highlight class="normal"></highlight></codeline> - </programlisting> - <location file="/Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/schematic.py"/> - </compounddef> -</doxygen> |