| Server IP : 93.86.61.54 / Your IP : 216.73.216.60 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/inkscape/extensions/__pycache__/ |
Upload File : |
o
0�a- � @ sh d Z ddlmZ ddlZddlmZmZmZ dd� Zdd� ZG d d
� d
ej �Z
edkr2e
� �� dS dS )a
This extension allows you to draw a Cartesian grid in Inkscape.
There is a wide range of options including subdivision, subsubdivions and
logarithmic scales. Custom line widths are also possible.
All elements are grouped with similar elements (eg all x-subdivs)
� )�logN)�Group�PathElement� Rectanglec C s: |� t� �}dt|�dd�|_d�| |||�|_||_dS )zDraw an SVG line�#000000�none��strokezstroke-width�fillzM {},{} L {},{}N)�addr �str�style�format�path�label)�x1�y1�x2�y2�width�name�parent�line� r �0/usr/share/inkscape/extensions/grid_cartesian.py� draw_line"