public void GetRoundedRect(D2D1_ROUNDED_RECT *roundedRect)
 {
     ((delegate * unmanaged <ID2D1RoundedRectangleGeometry *, D2D1_ROUNDED_RECT *, void>)(lpVtbl[17]))((ID2D1RoundedRectangleGeometry *)Unsafe.AsPointer(ref this), roundedRect);
 }
Exemple #2
0
 public int CreateRoundedRectangleGeometry([NativeTypeName("const D2D1_ROUNDED_RECT *")] D2D1_ROUNDED_RECT *roundedRectangle, ID2D1RoundedRectangleGeometry **roundedRectangleGeometry)
 {
     return(((delegate * unmanaged <ID2D1Factory5 *, D2D1_ROUNDED_RECT *, ID2D1RoundedRectangleGeometry **, int>)(lpVtbl[6]))((ID2D1Factory5 *)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry));
 }
 public void DrawRoundedRectangle([NativeTypeName("const D2D1_ROUNDED_RECT *")] D2D1_ROUNDED_RECT *roundedRect, [NativeTypeName("ID2D1Brush *")] ID2D1Brush *brush, [NativeTypeName("FLOAT")] float strokeWidth = 1.0f, [NativeTypeName("ID2D1StrokeStyle *")] ID2D1StrokeStyle *strokeStyle = null)
 {
     ((delegate * stdcall <ID2D1BitmapRenderTarget *, D2D1_ROUNDED_RECT *, ID2D1Brush *, float, ID2D1StrokeStyle *, void>)(lpVtbl[18]))((ID2D1BitmapRenderTarget *)Unsafe.AsPointer(ref this), roundedRect, brush, strokeWidth, strokeStyle);
 }
 public void FillRoundedRectangle([NativeTypeName("const D2D1_ROUNDED_RECT *")] D2D1_ROUNDED_RECT *roundedRect, [NativeTypeName("ID2D1Brush *")] ID2D1Brush *brush)
 {
     ((delegate * stdcall <ID2D1BitmapRenderTarget *, D2D1_ROUNDED_RECT *, ID2D1Brush *, void>)(lpVtbl[19]))((ID2D1BitmapRenderTarget *)Unsafe.AsPointer(ref this), roundedRect, brush);
 }
 public void GetRoundedRect([NativeTypeName("D2D1_ROUNDED_RECT *")] D2D1_ROUNDED_RECT *roundedRect)
 {
     ((delegate * stdcall <ID2D1RoundedRectangleGeometry *, D2D1_ROUNDED_RECT *, void>)(lpVtbl[17]))((ID2D1RoundedRectangleGeometry *)Unsafe.AsPointer(ref this), roundedRect);
 }