예제 #1
0
        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)));
        }
예제 #2
0
 public override object CreateImageBuilder(int width, int height, Xwt.Drawing.ImageFormat format)
 {
     throw new NotImplementedException();
 }
예제 #3
0
        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)));
        }
예제 #5
0
 public override object ConvertToBitmap(Xwt.Backends.ImageDescription idesc, double scaleFactor, Xwt.Drawing.ImageFormat format)
 {
     throw new NotImplementedException();
 }