public bool DrawSolidRectangle(Point location, uint width, uint height, double val) { Size size = new Size((int)width, (int)height); FIARECT fiaRect = new FIARECT(location, size); return(FreeImage.DrawSolidRectangle(this.Dib, fiaRect, val)); }
public bool Clear() { FIARECT fiaRect = new FIARECT(0, 0, this.Width - 1, this.Height - 1); if (this.IsGreyScale) { return(FreeImage.DrawSolidRectangle(this.Dib, fiaRect, 0.0f)); } else { return(FreeImage.DrawColourSolidRect(this.Dib, fiaRect, new RGBQUAD(Color.Black))); } }
public bool DrawSolidRectangle(Point location, Size size, double val) { FIARECT fiaRect = new FIARECT(location, size); return(FreeImage.DrawSolidRectangle(this.Dib, fiaRect, val)); }
public bool DrawSolidRectangle(Rectangle rect, double val) { FIARECT fiaRect = new FIARECT(rect.Left, rect.Top, rect.Right, rect.Bottom); return(FreeImage.DrawSolidRectangle(this.Dib, fiaRect, val)); }
public bool DrawSolidRectangle(FIARECT rect, double val) { return(FreeImage.DrawSolidRectangle(this.Dib, rect, val)); }