Hi All…
I have a path that’s made of 5 sub paths. I want to combine them all into one path, close them off, and then fill the path.
Is there any easy way to do this? I’m guessing I could make a new path by iterating the existing path and then closing it, but this seems wrong!
There is Path::addPath() for that purpose. But I can’t tell, if then a closePath will connect the first subPath with the last subPath. That is something you have to try…
I have two paths which when connected contain the shape of single, closed object. How can those be combined? How can I tell which ends of each path should be connected to which end of the other path?
I take this as a NO.
Though I wouldn’t consider it too much to ask if PACE could just answer that simple YES/NO question, ?
To help you out with that difficult task: Possible answers include, but are not limited to “we don’t care, nor know, nor are interested in that topic”, or “go away, do something more exciting than fiddling around with our code”, “we don’t document for a reason”, etc.
Thanks!
I don’t believe there’s pre-existing functionality that does exactly what you want. As mentioned above, the best approach is probably to use Path::Iterator to iterate the component parts of the individual paths, and to add these parts to a new combined path.