public void DrawImage(ImagePlus image, RectangleF rect) { Unit unit; RectangleF bounds = image.GetBounds(out unit); DrawImage(image, rect, 0, 0, bounds.Width, bounds.Height, unit, null); }
public void DrawImage(ImagePlus image, int x, int y) { Unit unit; RectangleF bounds = image.GetBounds(out unit); bounds.X += x; bounds.Y += y; DrawImage(image, bounds, 0, 0, bounds.Width, bounds.Height, unit, null); }
public void DrawImage(ImagePlus image, float x, float y, float width, float height) { Unit unit; RectangleF bounds = image.GetBounds(out unit); DrawImage(image, new RectangleF(x, y, width, height), 0, 0, bounds.Width, bounds.Height, unit, null); }
public void DrawImage(ImagePlus image, float x, float y, float srcx, float srcy, float srcwidth, float srcheight, Unit srcUnit) { Unit unit; RectangleF bounds = image.GetBounds(out unit); DrawImage(image, new RectangleF(x, y, srcwidth, srcheight), srcx, srcy, srcwidth, srcheight, srcUnit, null); }
public TextureBrushPlus(ImagePlus image, WrapMode wrapMode) { GpTexture texture; Unit unit; RectangleF rc = image.GetBounds(out unit); lastResult = GdiPlus.GdipCreateTextureIA( image.nativeImage, new GpImageAttributes(), rc.X, rc.Y, rc.Width, rc.Height, out texture); SetNativeBrush(texture); }
public TextureBrushPlus(ImagePlus image, WrapMode wrapMode) { GpTexture texture; Unit unit; RectangleF rc = image.GetBounds(out unit); lastResult = GdiPlus.GdipCreateTextureIA( image.nativeImage, new GpImageAttributes(), rc.X, rc.Y, rc.Width, rc.Height, out texture); SetNativeBrush(texture); }
public void DrawImage(ImagePlus image, float x, float y, float srcx, float srcy, float srcwidth, float srcheight, Unit srcUnit) { Unit unit; RectangleF bounds = image.GetBounds(out unit); DrawImage(image, new RectangleF(x, y, srcwidth, srcheight), srcx, srcy, srcwidth, srcheight, srcUnit, null); }
public void DrawImage(ImagePlus image, int x, int y) { Unit unit; RectangleF bounds = image.GetBounds(out unit); bounds.X += x; bounds.Y += y; DrawImage(image, bounds, 0, 0, bounds.Width, bounds.Height, unit, null); }
public void DrawImage(ImagePlus image, float x, float y, float width, float height) { Unit unit; RectangleF bounds = image.GetBounds(out unit); DrawImage(image, new RectangleF(x, y, width, height), 0, 0, bounds.Width, bounds.Height, unit, null); }
public void DrawImage(ImagePlus image, RectangleF rect) { Unit unit; RectangleF bounds = image.GetBounds(out unit); DrawImage(image, rect, 0, 0, bounds.Width, bounds.Height, unit, null); }