Carlos
November 14th, 2020, 19:24
Summary: Point line drawing should never spline
Ruleset(s): Dungeons & Dragons (5E)
New Campaign / FGC Migrated Campaign: New campaign for testing.
Extensions/Themes: None.
Modules Loaded: None.
Operating System / Language Setting: Windows 10, English (United States)
Steps to Reproduce:
There is a reason why most drawing programs have either a straight line draw function or a polyline draw function.
For the straight line drawing you disable spline across the nodes. For the polyline you spline across the nodes.
I consider it a bug that using Paint->Line to draw two straight lines results in a spline that destroys the ability to use line draw for drawing multiple line segments that consist of a square shape.
Latest version: v4.0.1 ULTIMATE (2020-11-11)
Create a new map.
Add a paint layer.
Turn on grid.
Select line and set draw width to 1.0
Draw a straight line from LEFT to RIGHT that is 10 squares wide.
Start 8 squares above the line just drawn and click once.
Move the mouse 8 squares DOWN and click once.
Move the mouse 8 squares UP and 2 squares RIGHT and double click (terminate line).
Expected behaviour:
The drawn lines form a crisp V that touches the bottom line.
Observed behaviour:
The line drawn, consisting of 3 points, is splined and does not touch the bottom line.
41114
Notes:
Using a spline for placed nodes is unfortunate because it makes it impossible to draw something with a tight angle that meets user expectations about what is to be drawn. To draw a crisp V (as shown in the picture) you need to work around the tools and draw two distinct lines from top to bottom. This is unfortunate and why I consider it a bug that splines are used for placed nodes. Alternatively the bug is a mis-feature, a lack of polyline vs. line distinction.
My expectation is that the drawing framework needs to distinguish when someone places a node (click, or double click) and when they are free hand drawing with the mouse button down (nodes being placed automatically by the pseudo-polyline drawing approximation). In the latter you can spline, but when someone places a specific point, they really want a crisp edge.
Ruleset(s): Dungeons & Dragons (5E)
New Campaign / FGC Migrated Campaign: New campaign for testing.
Extensions/Themes: None.
Modules Loaded: None.
Operating System / Language Setting: Windows 10, English (United States)
Steps to Reproduce:
There is a reason why most drawing programs have either a straight line draw function or a polyline draw function.
For the straight line drawing you disable spline across the nodes. For the polyline you spline across the nodes.
I consider it a bug that using Paint->Line to draw two straight lines results in a spline that destroys the ability to use line draw for drawing multiple line segments that consist of a square shape.
Latest version: v4.0.1 ULTIMATE (2020-11-11)
Create a new map.
Add a paint layer.
Turn on grid.
Select line and set draw width to 1.0
Draw a straight line from LEFT to RIGHT that is 10 squares wide.
Start 8 squares above the line just drawn and click once.
Move the mouse 8 squares DOWN and click once.
Move the mouse 8 squares UP and 2 squares RIGHT and double click (terminate line).
Expected behaviour:
The drawn lines form a crisp V that touches the bottom line.
Observed behaviour:
The line drawn, consisting of 3 points, is splined and does not touch the bottom line.
41114
Notes:
Using a spline for placed nodes is unfortunate because it makes it impossible to draw something with a tight angle that meets user expectations about what is to be drawn. To draw a crisp V (as shown in the picture) you need to work around the tools and draw two distinct lines from top to bottom. This is unfortunate and why I consider it a bug that splines are used for placed nodes. Alternatively the bug is a mis-feature, a lack of polyline vs. line distinction.
My expectation is that the drawing framework needs to distinguish when someone places a node (click, or double click) and when they are free hand drawing with the mouse button down (nodes being placed automatically by the pseudo-polyline drawing approximation). In the latter you can spline, but when someone places a specific point, they really want a crisp edge.