mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
[bug] fix bug 78456
This commit is contained in:
@ -3664,6 +3664,23 @@ function (window, undefined) {
|
||||
Path2.prototype.getTailArrowAngle = function (arrowLength) {
|
||||
return this.executeWithPathCommands(Path.prototype.getTailArrowAngle, [arrowLength]);
|
||||
};
|
||||
Path2.prototype.Write_ToBinary = function(writer) {
|
||||
AscFormat.writeBool(writer, this.extrusionOk);
|
||||
AscFormat.writeString(writer, this.fill);
|
||||
AscFormat.writeLong(writer, this.pathH);
|
||||
AscFormat.writeLong(writer, this.pathW);
|
||||
AscFormat.writeLong(writer, this.startPos);
|
||||
AscFormat.writeBool(writer, this.stroke);
|
||||
};
|
||||
Path2.prototype.Read_FromBinary = function(reader) {
|
||||
this.extrusionOk = AscFormat.readBool(reader);
|
||||
this.fill = AscFormat.readString(reader);
|
||||
this.pathH = AscFormat.readLong(reader);
|
||||
this.pathW = AscFormat.readLong(reader);
|
||||
this.startPos = AscFormat.readLong(reader);
|
||||
this.stroke = AscFormat.readBool(reader);
|
||||
this.PathMemory = reader.pathMemory;
|
||||
};
|
||||
|
||||
function partition_bezier3(x0, y0, x1, y1, x2, y2, epsilon) {
|
||||
let dx01 = x1 - x0;
|
||||
|
||||
Reference in New Issue
Block a user