Skip to content

Commit b56c6b1

Browse files
committed
revise arrow-wide shape
1 parent 52ba9de commit b56c6b1

11 files changed

+2
-2
lines changed

src/components/drawing/symbol_defs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -689,14 +689,14 @@ module.exports = {
689689
f: function(r, angle, standoff) {
690690
if(skipAngle(angle)) return emptyPath;
691691

692-
var headAngle = PI / 5; // 72 degrees - golden ratio
692+
var headAngle = PI / 4; // 90 degrees
693693
var x = 2 * r * cos(headAngle);
694694
var y = 2 * r * sin(headAngle);
695695

696696
return align(angle, standoff,
697697
'M0,0' +
698698
'L' + -x + ',' + y +
699-
'L' + x + ',' + y +
699+
'A ' + 2 * r + ',' + 2 * r + ' 0 0 1 ' + x + ',' + y +
700700
'Z'
701701
);
702702
},

test/image/baselines/19.png

-111 Bytes
Loading
127 Bytes
Loading
-494 Bytes
Loading
-582 Bytes
Loading
-102 Bytes
Loading

test/image/baselines/smith_gaps.png

-54 Bytes
Loading
-487 Bytes
Loading
-1.3 KB
Loading
-299 Bytes
Loading
-158 Bytes
Loading

0 commit comments

Comments
 (0)