@pptx-studio/render-dom 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @pptx-studio/render-dom
|
|
2
2
|
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 33a6f9d: Line ends are drawn, and strokes round to the display's own pixels.
|
|
8
|
+
|
|
9
|
+
`render-svg` draws the six `a:headEnd`/`a:tailEnd` heads as markers on the open ends of a stroked
|
|
10
|
+
path, sized from the pen PowerPoint's export uses at every width: two points at or under a
|
|
11
|
+
two-point line, the whole-pixel stroke above it, never under a device pixel (`markerPen` in `paint`,
|
|
12
|
+
49 of 49 F2 cases). No renderer had drawn a line end before.
|
|
13
|
+
|
|
14
|
+
`RenderOptions.devicePixelRatio` multiplies the named width for the stroke rule alone, so a slide at
|
|
15
|
+
100 % on a 2x display carries the strokes of 200 % at the same CSS size; `render-dom` passes it
|
|
16
|
+
through. The studio page passes the display's ratio and re-mounts when the window moves to another
|
|
17
|
+
display.
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [33a6f9d]
|
|
22
|
+
- @pptx-studio/paint@0.3.0
|
|
23
|
+
- @pptx-studio/render-svg@0.4.0
|
|
24
|
+
- @pptx-studio/model@0.1.3
|
|
25
|
+
|
|
3
26
|
## 0.2.0
|
|
4
27
|
|
|
5
28
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pptx-studio/render-dom",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "The live DOM renderer: one element per shape, over the same layout engine as render-svg",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"./package.json": "./package.json"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@pptx-studio/
|
|
45
|
-
"@pptx-studio/paint": "^0.
|
|
46
|
-
"@pptx-studio/
|
|
47
|
-
"@pptx-studio/
|
|
44
|
+
"@pptx-studio/geometry": "^0.1.1",
|
|
45
|
+
"@pptx-studio/paint": "^0.3.0",
|
|
46
|
+
"@pptx-studio/model": "^0.1.3",
|
|
47
|
+
"@pptx-studio/render-svg": "^0.4.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@arethetypeswrong/cli": "0.18.5",
|