|PDFsharp & MigraDoc Foundation
|Path clipping (extract)
|Page 1 of 1|
|Author:||ovord [ Mon May 18, 2015 10:13 am ]|
|Post subject:||Path clipping (extract)|
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+:
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
cntr += 1
Since the only function in pdfSharp is "intersectClip()", I don´t really know how I can solve this.
Thanks for help!
|Page 1 of 1||All times are UTC|
|Powered by phpBB® Forum Software © phpBB Group