Alsing.Drawing.GDI.GDISurface.FillRect C# (CSharp) Method

FillRect() public method

public FillRect ( GDIBrush brush, int x, int y, int width, int height ) : void
brush GDIBrush
x int
y int
width int
height int
return void
        public void FillRect(GDIBrush brush, int x, int y, int width, int height)
        {
            APIRect gr;
            gr.top = y;
            gr.left = x;
            gr.right = width + x;
            gr.bottom = height + y;

            NativeMethods.FillRect(mhDC, ref gr, brush.hBrush);
        }

Same methods

GDISurface::FillRect ( Color color, int x, int y, int width, int height ) : void