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/setup_typography_canvas.pyc
�
��Yc@s]dZddlZddlZdejfd��YZedkrYe�Zej�ndS(s�
Copyright (C) 2011 Felipe Correa da Silva Sanches

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����NtSetupTypographyCanvascBs5eZd�Zd�Zd�Zd�Zd�ZRS(c
Cs	tjj|�|jjddddddddd	d
dd�|jjd
dddddddd	ddd�|jjddddddddd	ddd�|jjddddddddd	ddd�|jjddddddddd	ddd �dS(!Ns-es--emsizetactiontstorettypetinttdesttemsizetdefaulti�thelpsEm-sizes-as
--ascendertascendert750tAscenders-cs--capstcapst700sCaps Heights-xs	--xheighttxheightt500sx-heights-ds--descendert	descendert250t	Descender(tinkextEffectt__init__tOptionParsert
add_option(tself((s9/usr/share/inkscape/extensions/setup_typography_canvas.pyRs*cCs|j|dd|�dS(Ns0,1i(tcreate_guideline(Rtnametposition((s9/usr/share/inkscape/extensions/setup_typography_canvas.pytcreate_horizontal_guideline/scCs|j|d|d�dS(Ns1,0i(R(RRR((s9/usr/share/inkscape/extensions/setup_typography_canvas.pytcreate_vertical_guideline2scCs�|jjtjdd��}tjj|tjdd��}|jd|�|jdt|�dt|��|jtjdd�|�dS(	Nt	namedviewtsodipoditguidetorientationRt,tlabeltinkscape(tsvgtfindRtaddNStetreet
SubElementtsettstr(RR#R!txtyRR ((s9/usr/share/inkscape/extensions/setup_typography_canvas.pyR5s
!$cCs�|jj}|jj}|jj}|jj}|jj}|jj�|_|jj	dt
|��|jj	dt
|��|jj	ddt
|�dt
|��|}|jd|�|jd||�|jd||�|jd	||�|jd
||�|jjt
jdd��}|j	t
jd
d�d�|j	t
jdd�t
|d��|j	t
jdd�t
|d��dS(NtwidththeighttviewBoxs0 0 t tbaselineR	RRRRRsdocument-unitsR$tpxtcxg@tcy(toptionsRR	RRRtdocumenttgetrootR%R*R+RR&RR'(RRR	RRRR2R((s9/usr/share/inkscape/extensions/setup_typography_canvas.pyteffect<s&+&(t__name__t
__module__RRRRR9(((s9/usr/share/inkscape/extensions/setup_typography_canvas.pyRs
				t__main__(t__doc__RtsysRRR:tetaffect(((s9/usr/share/inkscape/extensions/setup_typography_canvas.pyt<module>sA