- Messages
- 75
- Country

Hello all,
Continued from my previous post, I cannot seem to set a clip, using a polygon. If I just define and fill a polygon, no problem, comes out just as it is supposed to. But setting this same polygon as a clip region is NOT working.
Here is the code:
Anyone have an idea about this one?
Continued from my previous post, I cannot seem to set a clip, using a polygon. If I just define and fill a polygon, no problem, comes out just as it is supposed to. But setting this same polygon as a clip region is NOT working.
Here is the code:
C++:
GraphicsPath VSIClip;
VSIClip.AddPolygon(p.hFrameShape, p.hFrameShapeCount);
gfx->SetClip(&VSIClip); // doesnt work
gfx->FillPolygon(&brushDarkOverlay, p.hFrameShape, p.hFrameShapeCount); // this does work, the polygon is rendered
Anyone have an idea about this one?

