D2D1_LAYER_PARAMETERS1 geometricMask
miquik opened this issue · 2 comments
miquik commented
Hi,
I'm try to fill D2D1_LAYER_PARAMETERS1 structure to call PushLayer. If I understand correctly I have to pass my clipping geometry (as ID2D1Geometry) in the geometricMask field of this structure.
But how should I convert ID2D1Geometry to IntPtr?
Thanks
smourier commented
Hi,
You can use Marshal.GetIUnknownForObject(geometryObject)