Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Overlapping Paths
#13
Hmmm. Having more questions than answers right now.
  • Techniques that do a single mask of outlines and a single mask of holes don't work in cases where there is an outline inside a hole, for instance the dotted zero shown above, or a nearby character that overlaps the hole in another.
  • Processing strokes in sequence (adding outlines, removing holes) would at least work for the dotted zero case, but not for the overlap if the overlapping character appears first (which is unfortunately the more frequent case)
  • A bit of experimenting shows that when you edit a stroke if goes to the end of the strokes list, so it can solve the overlap issue (the overlapping character is drawn last), however this applies to the stroke and not to the character, so if the character has holes, the holes are going to be drawn out of sequence and will be filled when the outline stroke is eventually drawn. So the sequencing algorithm is not very robust with an edited path (not speaking of strokes where the orientation gets changed by the editing).
The conclusion is that whatever I do, the doc for all the caveats, pitfalls and restrictions if going to take longer to write than the code. I just hope that some people will read it.
Reply


Messages In This Thread
Overlapping Paths - by akovia - 05-07-2020, 11:49 PM
RE: Overlapping Paths - by Ofnuts - 05-08-2020, 04:07 PM
RE: Overlapping Paths - by akovia - 05-08-2020, 09:02 PM
RE: Overlapping Paths - by Ofnuts - 05-08-2020, 10:26 PM
RE: Overlapping Paths - by akovia - 05-09-2020, 12:13 AM
RE: Overlapping Paths - by Ofnuts - 05-09-2020, 10:12 AM
RE: Overlapping Paths - by akovia - 05-09-2020, 11:22 AM
RE: Overlapping Paths - by Ofnuts - 05-09-2020, 05:15 PM
RE: Overlapping Paths - by akovia - 05-09-2020, 05:58 PM
RE: Overlapping Paths - by Ofnuts - 05-09-2020, 07:26 PM
RE: Overlapping Paths - by Ofnuts - 05-09-2020, 10:23 PM
RE: Overlapping Paths - by akovia - 05-09-2020, 11:24 PM
RE: Overlapping Paths - by Ofnuts - 05-10-2020, 08:46 AM
RE: Overlapping Paths - by Ofnuts - 05-10-2020, 08:51 AM
RE: Overlapping Paths - by Blighty - 05-10-2020, 10:05 AM
RE: Overlapping Paths - by akovia - 05-10-2020, 11:41 AM
RE: Overlapping Paths - by Ofnuts - 05-10-2020, 08:25 PM
RE: Overlapping Paths - by akovia - 05-10-2020, 11:01 PM
RE: Overlapping Paths - by Ofnuts - 05-10-2020, 08:58 PM
RE: Overlapping Paths - by Ofnuts - 05-11-2020, 07:46 AM
RE: Overlapping Paths - by akovia - 05-11-2020, 09:01 PM
RE: Overlapping Paths - by Ofnuts - 05-11-2020, 10:10 AM
RE: Overlapping Paths - by Ofnuts - 05-11-2020, 04:24 PM
RE: Overlapping Paths - by rich2005 - 05-11-2020, 06:15 PM
RE: Overlapping Paths - by Ofnuts - 05-11-2020, 10:55 PM
RE: Overlapping Paths - by Ofnuts - 05-12-2020, 12:03 PM
RE: Overlapping Paths - by akovia - 05-12-2020, 01:24 PM
RE: Overlapping Paths - by Ofnuts - 05-12-2020, 03:08 PM
RE: Overlapping Paths - by Ofnuts - 05-12-2020, 07:44 PM
RE: Overlapping Paths - by akovia - 05-12-2020, 11:47 PM
RE: Overlapping Paths - by Ofnuts - 05-13-2020, 12:57 AM
RE: Overlapping Paths - by akovia - 05-13-2020, 11:26 AM
RE: Overlapping Paths - by Ofnuts - 05-13-2020, 09:04 PM
RE: Overlapping Paths - by akovia - 05-14-2020, 11:48 AM
RE: Overlapping Paths - by Ofnuts - 05-14-2020, 10:18 PM
RE: Overlapping Paths - by akovia - 05-14-2020, 11:50 PM
RE: Overlapping Paths - by mahvin - 05-15-2020, 08:05 PM
RE: Overlapping Paths - by Ofnuts - 05-15-2020, 10:19 PM

Forum Jump: