public void DrawImage(Image image, Point [] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback) { if (image == null) throw new ArgumentNullException ("image"); if (destPoints == null) throw new ArgumentNullException ("destPoints"); throw new NotImplementedException (); //Status status = GDIPlus.GdipDrawImagePointsRectI (nativeObject, image.NativeObject, // destPoints, destPoints.Length , srcRect.X, srcRect.Y, // srcRect.Width, srcRect.Height, srcUnit, // imageAttr != null ? imageAttr.NativeObject : IntPtr.Zero, callback, IntPtr.Zero); //GDIPlus.CheckStatus (status); }
public void DrawImage(Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, DrawImageAbort callback, IntPtr callbackData) { if (image == null) throw new ArgumentNullException ("image"); throw new NotImplementedException (); //Status status = GDIPlus.GdipDrawImageRectRect (nativeObject, image.NativeObject, // destRect.X, destRect.Y, destRect.Width, destRect.Height, // srcX, srcY, srcWidth, srcHeight, srcUnit, // imageAttrs != null ? imageAttrs.NativeObject : IntPtr.Zero, callback, callbackData); //GDIPlus.CheckStatus (status); }
public void DrawImage(Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, DrawImageAbort callback, IntPtr callbackData) { if (image == null) throw new ArgumentNullException("image"); int status = SafeNativeMethods.Gdip.GdipDrawImageRectRectI( new HandleRef(this, this.NativeGraphics), new HandleRef(image, image.nativeImage), destRect.X, destRect.Y, destRect.Width, destRect.Height, srcX, srcY, srcWidth, srcHeight, unchecked((int) srcUnit), new HandleRef(imageAttrs, (imageAttrs != null ? imageAttrs.nativeImageAttributes : IntPtr.Zero)), callback, new HandleRef(null, callbackData)); //ignore emf metafile error IgnoreMetafileErrors(image, ref status); //check error status sensitive to TS problems CheckErrorStatus(status); }
public void DrawImage(Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes imageAttrs, DrawImageAbort callback) {}
public void DrawImage (Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, DrawImageAbort callback) { if (image == null) throw new ArgumentNullException ("image"); Status status = GDIPlus.GdipDrawImageRectRect (nativeObject, image.NativeObject, destRect.X, destRect.Y, destRect.Width, destRect.Height, srcX, srcY, srcWidth, srcHeight, srcUnit, imageAttrs != null ? imageAttrs.NativeObject : IntPtr.Zero, callback, IntPtr.Zero); GDIPlus.CheckStatus (status); }
public void DrawImage(Image image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback, int callbackData) { if (destPoints == null) throw new ArgumentNullException("destPoints"); if (image == null) throw new ArgumentNullException("image"); int count = destPoints.Length; if (count != 3 && count != 4) throw new ArgumentException(SR.GetString(SR.GdiplusDestPointsInvalidLength)); IntPtr buf = SafeNativeMethods.Gdip.ConvertPointToMemory(destPoints); int status = SafeNativeMethods.Gdip.GdipDrawImagePointsRectI( new HandleRef(this, this.NativeGraphics), new HandleRef(image, image.nativeImage), new HandleRef(this, buf), destPoints.Length, srcRect.X, srcRect.Y, srcRect.Width, srcRect.Height, unchecked((int) srcUnit), new HandleRef(imageAttr, (imageAttr != null ? imageAttr.nativeImageAttributes : IntPtr.Zero)), callback, new HandleRef(null, (IntPtr)callbackData)); Marshal.FreeHGlobal(buf); //ignore emf metafile error IgnoreMetafileErrors(image, ref status); //check error status sensitive to TS problems CheckErrorStatus(status); }
public void DrawImage(Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes imageAttrs, DrawImageAbort callback, System.IntPtr callbackData) { }
public abstract void DrawImage(Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback);
public void DrawImage(Image image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes imageAttr, DrawImageAbort callback, int callbackData) { }
public void DrawImage(Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes imageAttrs, DrawImageAbort callback) { }
public void DrawImage (Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback, IntPtr callbackData) { //TBD:units,attributes, callback java.awt.Graphics2D g = (java.awt.Graphics2D)nativeObject; g.drawImage(image.NativeObject, destRect.X, destRect.Y, destRect.Width, destRect.Height, srcX, srcY, srcWidth, srcHeight,null); }
public void DrawImage (Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback) { //TBD:units,attributes, callback java.awt.Graphics2D g = (java.awt.Graphics2D)nativeObject; g.drawImage(image.NativeObject, (int)destRect.X, (int)destRect.Y, (int)destRect.Width, (int)destRect.Height, (int)srcX, (int)srcY, (int)srcWidth, (int)srcHeight,null); }
public void DrawImage (Image image, PointF [] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback, int callbackData) { throw new NotImplementedException(); }
public void DrawImage(Image image, PointF [] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback, int callbackData) { //Status status = GDIPlus.GdipDrawImagePointsRect (nativeObject, image.NativeObject, // destPoints, destPoints.Length , srcRect.X, srcRect.Y, // srcRect.Width, srcRect.Height, srcUnit, // imageAttr != null ? imageAttr.NativeObject : IntPtr.Zero, callback, (IntPtr) callbackData); //GDIPlus.CheckStatus (status); throw new NotImplementedException(); }
public void DrawImage(Image image, Point [] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback) { DrawImage(image, destPoints, srcRect, srcUnit, imageAttr, callback, 0); }
public void DrawImage (Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, DrawImageAbort callback, IntPtr callbackData) { throw new NotImplementedException (); }
public void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback, int callbackdata) { DrawImage(image, destPoints, srcRect, srcUnit); }
public abstract void DrawImage(Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, DrawImageAbort callback, IntPtr callbackData);
public void DrawImage(Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback, IntPtr callbackData) { DrawImage(image, destRect, srcX, srcY, srcWidth, srcHeight, srcUnit); }
public void DrawImage(Image image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback) { DrawImage(image, destPoints, srcRect, srcUnit, imageAttr, callback, 0); }
public void DrawImage(Image image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback, int callbackData) { throw null; }
public void DrawImage(Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback) { DrawImage(image, destRect, srcX, srcY, srcWidth, srcHeight, srcUnit, imageAttr, callback, IntPtr.Zero); }
public void DrawImage(Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, DrawImageAbort callback) { throw null; }
public void DrawImage(Image image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes imageAttr, DrawImageAbort callback, int callbackData) {}
public void DrawImage(Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, DrawImageAbort callback, IntPtr callbackData) { throw null; }
public void DrawImage(Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, System.Drawing.Imaging.ImageAttributes imageAttrs, DrawImageAbort callback, System.IntPtr callbackData) {}
public void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback, int callbackData) { if (destPoints == null) { throw new ArgumentNullException("destPoints"); } if (image == null) { throw new ArgumentNullException("image"); } int length = destPoints.Length; if ((length != 3) && (length != 4)) { throw new ArgumentException(System.Drawing.SR.GetString("GdiplusDestPointsInvalidLength")); } IntPtr handle = SafeNativeMethods.Gdip.ConvertPointToMemory(destPoints); int errorStatus = SafeNativeMethods.Gdip.GdipDrawImagePointsRect(new HandleRef(this, this.NativeGraphics), new HandleRef(image, image.nativeImage), new HandleRef(this, handle), destPoints.Length, srcRect.X, srcRect.Y, srcRect.Width, srcRect.Height, (int) srcUnit, new HandleRef(imageAttr, (imageAttr != null) ? imageAttr.nativeImageAttributes : IntPtr.Zero), callback, new HandleRef(null, (IntPtr) callbackData)); Marshal.FreeHGlobal(handle); this.IgnoreMetafileErrors(image, ref errorStatus); this.CheckErrorStatus(errorStatus); }
public void DrawImage(Image image, PointF [] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback, int callbackData) { //Status status = GDIPlus.GdipDrawImagePointsRect (nativeObject, image.NativeObject, // destPoints, destPoints.Length , srcRect.X, srcRect.Y, // srcRect.Width, srcRect.Height, srcUnit, // imageAttr != null ? imageAttr.NativeObject : IntPtr.Zero, callback, (IntPtr) callbackData); //GDIPlus.CheckStatus (status); throw new NotImplementedException (); }
public void DrawImage(Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, DrawImageAbort callback, IntPtr callbackData) { if (image == null) { throw new ArgumentNullException("image"); } int errorStatus = SafeNativeMethods.Gdip.GdipDrawImageRectRect(new HandleRef(this, this.NativeGraphics), new HandleRef(image, image.nativeImage), (float) destRect.X, (float) destRect.Y, (float) destRect.Width, (float) destRect.Height, srcX, srcY, srcWidth, srcHeight, (int) srcUnit, new HandleRef(imageAttrs, (imageAttrs != null) ? imageAttrs.nativeImageAttributes : IntPtr.Zero), callback, new HandleRef(null, callbackData)); this.IgnoreMetafileErrors(image, ref errorStatus); this.CheckErrorStatus(errorStatus); }
public void DrawImage(Image image, Point [] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback) { if (image == null) { throw new ArgumentNullException("image"); } if (destPoints == null) { throw new ArgumentNullException("destPoints"); } throw new NotImplementedException(); //Status status = GDIPlus.GdipDrawImagePointsRectI (nativeObject, image.NativeObject, // destPoints, destPoints.Length , srcRect.X, srcRect.Y, // srcRect.Width, srcRect.Height, srcUnit, // imageAttr != null ? imageAttr.NativeObject : IntPtr.Zero, callback, IntPtr.Zero); //GDIPlus.CheckStatus (status); }
public abstract void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback, int callbackData);
public void DrawImage(Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, DrawImageAbort callback, IntPtr callbackData) { if (image == null) { throw new ArgumentNullException("image"); } throw new NotImplementedException(); //Status status = GDIPlus.GdipDrawImageRectRect (nativeObject, image.NativeObject, // destRect.X, destRect.Y, destRect.Width, destRect.Height, // srcX, srcY, srcWidth, srcHeight, srcUnit, // imageAttrs != null ? imageAttrs.NativeObject : IntPtr.Zero, callback, callbackData); //GDIPlus.CheckStatus (status); }
public void DrawImage (Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback) { throw new NotImplementedException (); }