2h
comment Drawing a path surrounding a given path
That looks really good! In the star like figure, is it possible to get more rounded edges?
2d
comment Printing Canvas to XPS unwanted scaling and cut off
With printer, do you mean a real one? I just want to save as XPS (without a dialog). I want to print the complete Canvas content, no matter how much of it is visible, even though in my screenshot one can only see a part of it.
Feb
7
revised Drawing a path surrounding a given path
clarification
Feb
7
comment Drawing a path surrounding a given path
Thanks, but unfortunately - as you can see on your result screenshot - the distances aren't equal. You might have a look at my own reply.
Feb
6
comment Drawing a path surrounding a given path
well, the answer is there is no direct function for that in pdfsharp. the new coordinates have to be calculated externally like e.g. using Clipper or your approach and then it can be drawn using pdfsharp. the last thing is important, not if one also gets the new coordinates using pdfsharp.
Feb
6
revised Drawing a path surrounding a given path
update hint for own answer
Feb
6
comment Drawing a path surrounding a given path
Thanks again! As one can see on he screenshot though, this solution is still to simple. I added an answer using the Clipper library, which improves the result.
Feb
6
answered Drawing a path surrounding a given path
Feb
6
revised Drawing a path surrounding a given path
added screenshot
Feb
6
asked Printing Canvas to XPS unwanted scaling and cut off
Feb
5
revised Drawing a path surrounding a given path
solution found hint
Feb
5
comment Offset polygon using Clipper library
my fault. solution will follow.
Feb
5
comment Drawing a path surrounding a given path
Thanks for your efforts! Unfortunately I need a more generic solution, something like SurroundMe(Path myPath) ): Also the result would be better if one could offset the path itself (more points) instead of just the points that were input to the Path.
Feb
5
revised Offset polygon using Clipper library
clipper trunk tested
Feb
4
asked Offset polygon using Clipper library
Feb
4
comment Drawing a path surrounding a given path
Thanks for your efforts, I added a screenshot of your result to your reply. Unfortunately the distance of the outer polygon is not constant, also I have a curve in the original.
Feb
4
revised Drawing a path surrounding a given path
added screenshot of sample result mentioned in comments
Feb
4
awarded Notable Question
Feb
2
comment Drawing a path surrounding a given path
Thanks for your reply! Can you please explain it and maybe add a sample of the result?
Feb
2
comment Surrounding an arbitrary path?
Accepted as answer, as after my first tests this seems to work damn good :-) Thanks for your support!
1 2 3 4 5