コード例 #1
0
ファイル: GDISurface.cs プロジェクト: polytronicgr/netrix
        public void Clear(Color color)
        {
            GDIBrush b = new GDIBrush(color);

            Clear(b);
            b.Dispose();
        }
コード例 #2
0
ファイル: GDISurface.cs プロジェクト: polytronicgr/netrix
        public void FillRect(Color color, int x, int y, int width, int height)
        {
            GDIBrush b = new GDIBrush(color);

            FillRect(b, x, y, width, height);
            b.Dispose();
        }