09-10-2023, 01:55 PM
(This post was last modified: 09-10-2023, 01:56 PM by James D Jarvis.)
(09-10-2023, 04:21 AM)dbox Wrote: James, I thought your original version looked great that used G2D.FillTriange:
What was the issue? If you want to adjust the line width you can use the G2D.LineWidth method. I added it to your program, you can uncomment it to play with different line widths.
Thanks.
If you crank up the line width to just say 4 or 5 pixels you'll notice a gap in the line segments on the outline with the routine I used. When I did this in QB64 I used a custom fat-line routine that used filled circles to draw lines and as such there was always overlap at endpoints due to how the line segments were drawn. There may be fancier ways to draw those line with the graphics library in QBJS that I am just unaware of at this point. Is there a continuous line plot I just didn't notice yet, how's the end-cap work on line segments?

