-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implements ability to alter dot size #32
Implements dotSize to change the size of the dot in dotty mode.
- Loading branch information
Showing
12 changed files
with
1,545 additions
and
1,396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+597 Bytes
...formations-dot-size-should-render-the-dot-size-as-1-px-in-dotty-mode-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+597 Bytes
...ansformations-dot-size-should-render-the-dot-size-as-5-in-dotty-mode-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+255 Bytes
...ations-dot-size-should-set-the-default-dot-size-to-0-8-in-dotty-mode-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+255 Bytes
...ons-dot-size-should-set-the-default-dot-size-to-0-8-px-in-dotty-mode-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Symbology Transformations PostScript should render an eps 1`] = ` | ||
"%!PS-Adobe-3.0 EPSF-3.0 | ||
%%Creator: Zint 2.9.1.9 | ||
%%Title: Zint Generated Symbol | ||
%%Pages: 0 | ||
%%BoundingBox: 0 0 158 119 | ||
%%EndComments | ||
/TL { setlinewidth moveto lineto stroke } bind def | ||
/TD { newpath 0 360 arc fill } bind def | ||
/TH { 0 setlinewidth moveto lineto lineto lineto lineto lineto closepath fill } bind def | ||
/TB { 2 copy } bind def | ||
/TR { newpath 4 1 roll exch moveto 1 index 0 rlineto 0 exch rlineto neg 0 rlineto closepath fill } bind def | ||
/TE { pop pop } bind def | ||
newpath | ||
1.00 1.00 1.00 setrgbcolor | ||
118.90 0.00 TB 0.00 158.00 TR | ||
TE | ||
0.00 0.00 0.00 setrgbcolor | ||
100.00 18.90 TB 0.00 4.00 TR | ||
TE | ||
100.00 18.90 TB 6.00 2.00 TR | ||
TE | ||
100.00 18.90 TB 12.00 6.00 TR | ||
TE | ||
100.00 18.90 TB 22.00 2.00 TR | ||
TE | ||
100.00 18.90 TB 26.00 4.00 TR | ||
TE | ||
100.00 18.90 TB 34.00 6.00 TR | ||
TE | ||
100.00 18.90 TB 44.00 2.00 TR | ||
TE | ||
100.00 18.90 TB 52.00 2.00 TR | ||
TE | ||
100.00 18.90 TB 56.00 4.00 TR | ||
TE | ||
100.00 18.90 TB 66.00 2.00 TR | ||
TE | ||
100.00 18.90 TB 70.00 8.00 TR | ||
TE | ||
100.00 18.90 TB 80.00 6.00 TR | ||
TE | ||
100.00 18.90 TB 88.00 4.00 TR | ||
TE | ||
100.00 18.90 TB 94.00 6.00 TR | ||
TE | ||
100.00 18.90 TB 104.00 2.00 TR | ||
TE | ||
100.00 18.90 TB 110.00 6.00 TR | ||
TE | ||
100.00 18.90 TB 118.00 2.00 TR | ||
TE | ||
100.00 18.90 TB 122.00 4.00 TR | ||
TE | ||
100.00 18.90 TB 132.00 4.00 TR | ||
TE | ||
100.00 18.90 TB 142.00 6.00 TR | ||
TE | ||
100.00 18.90 TB 150.00 2.00 TR | ||
TE | ||
100.00 18.90 TB 154.00 4.00 TR | ||
TE | ||
matrix currentmatrix | ||
/Helvetica findfont | ||
14.00 scalefont setfont | ||
0 0 moveto 79.00 3.50 translate 0.00 rotate 0 0 moveto | ||
(12345) stringwidth | ||
pop | ||
-2 div 0 rmoveto | ||
(12345) show | ||
setmatrix" | ||
`; | ||
|
||
exports[`Symbology Transformations Scalable Vector Graphics should render an SVG 1`] = ` | ||
"<?xml version=\\"1.0\\" standalone=\\"no\\"?> | ||
<!DOCTYPE svg PUBLIC \\"-//W3C//DTD SVG 1.1//EN\\" | ||
\\"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\\"> | ||
<svg width=\\"158\\" height=\\"119\\" version=\\"1.1\\" | ||
xmlns=\\"http://www.w3.org/2000/svg\\"> | ||
<desc>Zint Generated Symbol | ||
</desc> | ||
<g id=\\"barcode\\" fill=\\"#000000\\"> | ||
<rect x=\\"0\\" y=\\"0\\" width=\\"158\\" height=\\"119\\" fill=\\"#FFFFFF\\" /> | ||
<rect x=\\"0.00\\" y=\\"0.00\\" width=\\"4.00\\" height=\\"100.00\\" /> | ||
<rect x=\\"6.00\\" y=\\"0.00\\" width=\\"2.00\\" height=\\"100.00\\" /> | ||
<rect x=\\"12.00\\" y=\\"0.00\\" width=\\"6.00\\" height=\\"100.00\\" /> | ||
<rect x=\\"22.00\\" y=\\"0.00\\" width=\\"2.00\\" height=\\"100.00\\" /> | ||
<rect x=\\"26.00\\" y=\\"0.00\\" width=\\"4.00\\" height=\\"100.00\\" /> | ||
<rect x=\\"34.00\\" y=\\"0.00\\" width=\\"6.00\\" height=\\"100.00\\" /> | ||
<rect x=\\"44.00\\" y=\\"0.00\\" width=\\"2.00\\" height=\\"100.00\\" /> | ||
<rect x=\\"52.00\\" y=\\"0.00\\" width=\\"2.00\\" height=\\"100.00\\" /> | ||
<rect x=\\"56.00\\" y=\\"0.00\\" width=\\"4.00\\" height=\\"100.00\\" /> | ||
<rect x=\\"66.00\\" y=\\"0.00\\" width=\\"2.00\\" height=\\"100.00\\" /> | ||
<rect x=\\"70.00\\" y=\\"0.00\\" width=\\"8.00\\" height=\\"100.00\\" /> | ||
<rect x=\\"80.00\\" y=\\"0.00\\" width=\\"6.00\\" height=\\"100.00\\" /> | ||
<rect x=\\"88.00\\" y=\\"0.00\\" width=\\"4.00\\" height=\\"100.00\\" /> | ||
<rect x=\\"94.00\\" y=\\"0.00\\" width=\\"6.00\\" height=\\"100.00\\" /> | ||
<rect x=\\"104.00\\" y=\\"0.00\\" width=\\"2.00\\" height=\\"100.00\\" /> | ||
<rect x=\\"110.00\\" y=\\"0.00\\" width=\\"6.00\\" height=\\"100.00\\" /> | ||
<rect x=\\"118.00\\" y=\\"0.00\\" width=\\"2.00\\" height=\\"100.00\\" /> | ||
<rect x=\\"122.00\\" y=\\"0.00\\" width=\\"4.00\\" height=\\"100.00\\" /> | ||
<rect x=\\"132.00\\" y=\\"0.00\\" width=\\"4.00\\" height=\\"100.00\\" /> | ||
<rect x=\\"142.00\\" y=\\"0.00\\" width=\\"6.00\\" height=\\"100.00\\" /> | ||
<rect x=\\"150.00\\" y=\\"0.00\\" width=\\"2.00\\" height=\\"100.00\\" /> | ||
<rect x=\\"154.00\\" y=\\"0.00\\" width=\\"4.00\\" height=\\"100.00\\" /> | ||
<text x=\\"79.00\\" y=\\"115.40\\" text-anchor=\\"middle\\" | ||
font-family=\\"Helvetica, sans-serif\\" font-size=\\"14.0\\" > | ||
12345 | ||
</text> | ||
</g> | ||
</svg>" | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.