コード例 #1
0
 public int CreateLinearGradientBrush([NativeTypeName("const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES &")] D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *linearGradientBrushProperties, [NativeTypeName("ID2D1GradientStopCollection *")] ID2D1GradientStopCollection *gradientStopCollection, [NativeTypeName("ID2D1LinearGradientBrush **")] ID2D1LinearGradientBrush **linearGradientBrush)
 {
     return(CreateLinearGradientBrush(linearGradientBrushProperties, null, gradientStopCollection, linearGradientBrush));
 }
コード例 #2
0
 public int CreateLinearGradientBrush([NativeTypeName("const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *")] D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *linearGradientBrushProperties, [NativeTypeName("const D2D1_BRUSH_PROPERTIES *")] D2D1_BRUSH_PROPERTIES *brushProperties, [NativeTypeName("ID2D1GradientStopCollection *")] ID2D1GradientStopCollection *gradientStopCollection, [NativeTypeName("ID2D1LinearGradientBrush **")] ID2D1LinearGradientBrush **linearGradientBrush)
 {
     return(((delegate * stdcall <ID2D1BitmapRenderTarget *, D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *, D2D1_BRUSH_PROPERTIES *, ID2D1GradientStopCollection *, ID2D1LinearGradientBrush **, int>)(lpVtbl[10]))((ID2D1BitmapRenderTarget *)Unsafe.AsPointer(ref this), linearGradientBrushProperties, brushProperties, gradientStopCollection, linearGradientBrush));
 }