forked from DerElam/inkscape-extension-playing-cards
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPlayingCards.inx
executable file
·130 lines (130 loc) · 5.65 KB
/
PlayingCards.inx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Playing Cards</_name>
<id>elam.playingcards</id>
<dependency type="executable" location="extensions">PlayingCards.py</dependency>
<param name="pageName" type="notebook">
<page name="pageCards" gui-text="Cards">
<hbox>
<label>Width</label>
<spacer size="expand"/>
<param name="cardWidth" type="float" min="0" max="1000" precision="3" gui-text=" ">2.5</param>
<param name="cardWidthUnit" type="optiongroup" appearance="combo" gui-text=" ">
<option value="in">in</option>
<option value="mm">mm</option>
<option value="cm">cm</option>
</param>
</hbox>
<hbox>
<label>Height</label>
<spacer size="expand"/>
<param name="cardHeight" type="float" min="0" max="1000" precision="3" gui-text=" ">3.5</param>
<param name="cardHeightUnit" type="optiongroup" appearance="combo" gui-text=" ">
<option value="in">in</option>
<option value="mm">mm</option>
<option value="cm">cm</option>
</param>
</hbox>
<hbox>
<label>Bleed size</label>
<spacer size="expand"/>
<param name="bleedSize" type="float" min="0" max="1000" precision="3" gui-text=" ">1</param>
<param name="bleedSizeUnit" type="optiongroup" appearance="combo" gui-text=" ">
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="in">in</option>
</param>
</hbox>
</page>
<page name="pageMargins" gui-text="Margins">
<hbox>
<label>Minimal distance between cards</label>
<spacer size="expand"/>
<param name="minCardSpacing" type="float" min="0" max="1000" precision="3" gui-text=" ">0</param>
<param name="minCardSpacingUnit" type="optiongroup" appearance="combo" gui-text=" ">
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="in">in</option>
</param>
</hbox>
<hbox>
<label>Minimal distance between cards and fold line</label>
<spacer size="expand"/>
<param name="minFoldLineSpacing" type="float" min="0" max="1000" precision="3" gui-text=" ">5</param>
<param name="minFoldLineSpacingUnit" type="optiongroup" appearance="combo" gui-text=" ">
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="in">in</option>
</param>
</hbox>
<hbox>
<label>Distance between crop marks and bleed</label>
<spacer size="expand"/>
<param name="cropMarkSpacing" type="float" min="0" max="1000" precision="3" gui-text=" ">1</param>
<param name="cropMarkSpacingUnit" type="optiongroup" appearance="combo" gui-text=" ">
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="in">in</option>
</param>
</hbox>
<hbox>
<label>Page margin</label>
<spacer size="expand"/>
<param name="pageMargin" type="float" min="0" max="1000" precision="3" gui-text=" ">5</param>
<param name="pageMarginUnit" type="optiongroup" appearance="combo" gui-text=" ">
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="in">in</option>
</param>
</hbox>
<hbox>
<label>Distance between cards and frame</label>
<spacer size="expand"/>
<param name="frameSpacing" type="float" min="0" max="1000" precision="3" gui-text=" ">0</param>
<param name="frameSpacingUnit" type="optiongroup" appearance="combo" gui-text=" ">
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="in">in</option>
</param>
</hbox>
</page>
<page name="pageMarks" gui-text="Fold line">
<param name="foldLineType" gui-text="Fold line type" type="optiongroup">
<option value="HorizontalFoldLine">Horizontal fold line</option>
<option value="VerticalFoldLine">Vertical fold line</option>
<option value="NoFoldLine">No fold line</option>
</param>
</page>
<page name="pageAlignment" gui-text="Alignment">
<param name="gridAligned" type="bool" gui-text="Align cards to grid">true</param>
<hbox>
<label>Grid spacing</label>
<spacer size="expand"/>
<param name="gridSize" type="float" min="0" max="1000" precision="3" gui-text=" ">5</param>
<param name="gridSizeUnit" type="optiongroup" appearance="combo" gui-text=" ">
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="in">in</option>
</param>
</hbox>
</page>
<page name="pageVisibility" gui-text="Visibility">
<param name="drawGuides" type="bool" gui-text="Draw guides">true</param>
<param name="drawCards" type="bool" gui-text="Draw cards">true</param>
<param name="drawBleeds" type="bool" gui-text="Draw bleeds">true</param>
<param name="drawCropLines" type="bool" gui-text="Draw crop lines">true</param>
<param name="drawFoldLine" type="bool" gui-text="Draw fold line">true</param>
<param name="drawPageMargin" type="bool" gui-text="Draw page margin">false</param>
<param name="drawFrame" type="bool" gui-text="Draw frame">true</param>
</page>
</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu _name="Boardgames" />
</effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">PlayingCards.py</command>
</script>
</inkscape-extension>