HEX
Server: Apache
System: Linux opal14.opalstack.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User: curbgloabal_opal (1234)
PHP: 8.1.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/share/inkscape/extensions/pturtle.pyo
�
��Yc@s)dZddlZddd��YZdS(s�
Copyright (C) 2005 Aaron Spike, aaron@ekips.org

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
i����NtpTurtlecBs�eZdZdd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d	�Z
d
�Zd�Zd�Z
d
�Zd�Zd�Zd�Zd�Zd�ZeZeZeZeZeZe	ZRS(sA Python path turtleicCsL|d|dg|_|j|_d|_d|_t|_t|_dS(Niii����t(t_pTurtle__homet
_pTurtle__post_pTurtle__headingt_pTurtle__pathtTruet_pTurtle__drawt
_pTurtle__new(tselfthome((s)/usr/share/inkscape/extensions/pturtle.pyt__init__s
			cCs_|j|jdtjtj|j��||jdtjtj|j��|f�dS(Nii(tsetposRtmathtcostradiansRtsin(R	tmag((s)/usr/share/inkscape/extensions/pturtle.pytforwards-cCs_|j|jdtjtj|j��||jdtjtj|j��|f�dS(Nii(RRR
RRRR(R	R((s)/usr/share/inkscape/extensions/pturtle.pytbackward s-cCs|j|8_dS(N(R(R	tdeg((s)/usr/share/inkscape/extensions/pturtle.pytright#scCs|j|7_dS(N(R(R	R((s)/usr/share/inkscape/extensions/pturtle.pytleft%scCst|_t|_dS(N(tFalseRR(R	((s)/usr/share/inkscape/extensions/pturtle.pytpenup's	cCs"|jst|_nt|_dS(N(RRR(R	((s)/usr/share/inkscape/extensions/pturtle.pytpendown*s	cCs$|jr|j�n
|j�dS(N(RRR(R	((s)/usr/share/inkscape/extensions/pturtle.pyt	pentoggle.s	
cCs|j|j�dS(N(RR(R	((s)/usr/share/inkscape/extensions/pturtle.pyR
3scCs
d|_dS(NR(R(R	((s)/usr/share/inkscape/extensions/pturtle.pytclean5scCs|j�|j�dS(N(RR
(R	((s)/usr/share/inkscape/extensions/pturtle.pytclear7s
cCs�|\}}|jrY|jddjg|jD]}t|�^q/�7_t|_n||g|_|jr�|jddjg|jD]}t|�^q��7_ndS(NtMt,tL(RRtjoinRtstrRR(R	t.1txtyti((s)/usr/share/inkscape/extensions/pturtle.pyR:s		8	cCs|jS(N(R(R	((s)/usr/share/inkscape/extensions/pturtle.pytgetposAscCs
||_dS(N(R(R	R((s)/usr/share/inkscape/extensions/pturtle.pyt
setheadingCscCs|jS(N(R(R	((s)/usr/share/inkscape/extensions/pturtle.pyt
getheadingEscCs|\}}||g|_dS(N(R(R	R"R#R$((s)/usr/share/inkscape/extensions/pturtle.pytsethomeGs	cCs|jS(N(R(R	((s)/usr/share/inkscape/extensions/pturtle.pytgetPathIs(ii(t__name__t
__module__t__doc__RRRRRRRRR
RRRR&R'R(R)R*tfdtbktrttlttputpd(((s)/usr/share/inkscape/extensions/pturtle.pyRs0																((R-R
R(((s)/usr/share/inkscape/extensions/pturtle.pyt<module>s