News:

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.

snsisk

Following the example in http://www.visguy.com/2008/08/09/create-better-looking-more-efficient-smartshapes/ 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?

12/15/2008

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?

12/17/2008

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?


Thanks,

Steve

wapperdude

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

Wapperdude
Visio 2019 Pro

Browser ID: smf (is_webkit)
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: 164 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1060KB.
Tokens: post-login.
Cache hits: 13: 0.00184s for 26,766 bytes (show)
Cache misses: 2: (show)
Queries used: 17.

[Show Queries]