public static bool Resize(SKPixmap dst, SKPixmap src, SKBitmapResizeMethod method) { if (dst == null) { throw new ArgumentNullException(nameof(dst)); } if (src == null) { throw new ArgumentNullException(nameof(src)); } return(src.ScalePixels(dst, method.ToFilterQuality())); }
public static bool Resize(SKBitmap dst, SKBitmap src, SKBitmapResizeMethod method) => src.ScalePixels(dst, method.ToFilterQuality());
public SKBitmap Resize(SKImageInfo info, SKBitmapResizeMethod method) => Resize(info, method.ToFilterQuality());