예제 #1
0
 public static IBitmap <TPixel> CreateBitmapFromSourceRect <TPixel>(this IImagingFactory factory, IBitmapSource <TPixel> source, RectInt32 sourceRect) where TPixel : struct, INaturalPixelInfo =>
 ((IBitmap <TPixel>)factory.CreateBitmapFromSourceRect(source, sourceRect));