@visactor/vrender-core 1.0.43 → 1.0.44
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/cjs/common/diff.js +1 -2
- package/cjs/common/generator.js +2 -1
- package/cjs/common/simplify.js +1 -2
- package/cjs/common/text.js +2 -1
- package/es/common/diff.js +1 -2
- package/es/common/generator.js +2 -1
- package/es/common/simplify.js +1 -2
- package/es/common/text.js +2 -1
- package/package.json +1 -1
package/cjs/common/diff.js
CHANGED
package/cjs/common/generator.js
CHANGED
package/cjs/common/simplify.js
CHANGED
|
@@ -35,5 +35,4 @@ function flatten_simplify(points, tolerance, highestQuality) {
|
|
|
35
35
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", {
|
|
37
37
|
value: !0
|
|
38
|
-
}), exports.flatten_simplify = void 0, exports.flatten_simplify = flatten_simplify;
|
|
39
|
-
//# sourceMappingURL=simplify.js.map
|
|
38
|
+
}), exports.flatten_simplify = void 0, exports.flatten_simplify = flatten_simplify;
|
package/cjs/common/text.js
CHANGED
|
@@ -33,4 +33,5 @@ function textAttributesToStyle(attrs) {
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
exports.textDrawOffsetY = textDrawOffsetY, exports.textDrawOffsetX = textDrawOffsetX,
|
|
36
|
-
exports.textLayoutOffsetY = textLayoutOffsetY, exports.textAttributesToStyle = textAttributesToStyle;
|
|
36
|
+
exports.textLayoutOffsetY = textLayoutOffsetY, exports.textAttributesToStyle = textAttributesToStyle;
|
|
37
|
+
//# sourceMappingURL=text.js.map
|
package/es/common/diff.js
CHANGED
package/es/common/generator.js
CHANGED
package/es/common/simplify.js
CHANGED
|
@@ -29,5 +29,4 @@ function simplifyDouglasPeucker(points, sqTolerance) {
|
|
|
29
29
|
export function flatten_simplify(points, tolerance, highestQuality) {
|
|
30
30
|
if (points.length <= 10) return points;
|
|
31
31
|
return points = highestQuality ? points : simplifyRadialDist(points, void 0 !== tolerance ? tolerance * tolerance : 1);
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=simplify.js.map
|
|
32
|
+
}
|
package/es/common/text.js
CHANGED
|
@@ -23,4 +23,5 @@ export function textAttributesToStyle(attrs) {
|
|
|
23
23
|
})), isValid(attrs.maxLineWidth) && (style["max-width"] = parsePxValue(attrs.maxLineWidth)),
|
|
24
24
|
attrs.underline ? style["text-decoration"] = "underline" : attrs.lineThrough && (style["text-decoration"] = "line-through"),
|
|
25
25
|
attrs.fill && isString(attrs.fill) && (style.color = attrs.fill), style;
|
|
26
|
-
}
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=text.js.map
|