BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Line pattern does not intersect correctly

Started by snsisk, December 15, 2008, 03:19:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Following the example in for the custom line patterns.  However, when I apply the new line pattern to a rectangle, the lines do not intersect correctly at the start/end corner (see the lower-left corner of the attached file). 

Does this have something to do with connection points or alignment box?  Should the custom line pattern have certain length boundaries? Other ideas?


After some tinkering, I found that the issue seems to be with the alignment box.  Do I need a calculation that manipulates the alignment box or the length of the line based on the line height?


After more experimenting, the start/end corner overlapping incorrectly can be corrected with rounding.  Not exactly what I wanted but, I'm guessing the problem is caused by the different code being used for Visio line patterns verses custom user-created line patterns.

VisGuy, have you attempted to apply the lines patterns in the link above to a rectangle?  If so, what were your results with the start/end corner aligning correctly?




It appears to be a Visio "feature".  The manifestation is quite consistent.  Rounding does seem to eliminate the problem.

Visio 2019 Pro

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 159 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1051KB.
Tokens: post-login.
Cache hits: 13: 0.00148s for 26,757 bytes (show)
Cache misses: 3: (show)
Queries used: 16.

[Show Queries]