public override object ConvertToBitmap(ImageDescription idesc, double scaleFactor, Xwt.Drawing.ImageFormat format) { var wpfImage = (WpfImage)idesc.Backend; return(new WpfImage(wpfImage.GetBestFrame(ApplicationContext, scaleFactor, idesc, true))); }
public override object CreateImageBuilder(int width, int height, Xwt.Drawing.ImageFormat format) { throw new NotImplementedException(); }
public override object ConvertToBitmap(object img, int width, int height, Xwt.Drawing.ImageFormat format) { var wpfImage = (WpfImage)img; return(new WpfImage(wpfImage.GetBestFrame(ApplicationContext, 1, width, height, true))); }
public override object ConvertToBitmap(object img, double width, double height, double scaleFactor, Xwt.Drawing.ImageFormat format) { var wpfImage = (WpfImage)img; return(new WpfImage(wpfImage.GetBestFrame(ApplicationContext, scaleFactor, width, height, true))); }
public override object ConvertToBitmap(Xwt.Backends.ImageDescription idesc, double scaleFactor, Xwt.Drawing.ImageFormat format) { throw new NotImplementedException(); }