PDFsharp & MigraDoc Foundation https://forum.pdfsharp.net/ |
|
Path clipping (extract) https://forum.pdfsharp.net/viewtopic.php?f=2&t=3112 |
Page 1 of 1 |
Author: | ovord [ Mon May 18, 2015 10:13 am ] |
Post subject: | Path clipping (extract) |
Hello, I am trying to draw some paths, where I need to clip holes out of other paths. I´m using the GDI+ build, this is how I solved this problem in GDI+: Code: If CheckPolygonClockwise(i.poly) Then Dim path As GraphicsPath = PointToPath(i.poly) If path IsNot Nothing Then Dim reg As New Region(PointToPath(i.poly)) labelImGr.Clip = reg labelImGr.Clear(Color.Transparent) labelImGr.ResetClip() cntr += 1 End If End If Since the only function in pdfSharp is "intersectClip()", I don´t really know how I can solve this. Thanks for help! Oliver |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |