public void DrawClipWhite(string fileName, Point src, Size size, Point point) { if (!_handles.ContainsKey(fileName)) Load(fileName); DX.SetDrawBlendMode(DX.DX_BLENDMODE_ADD, 255); DX.DrawRectGraph(point.X, point.Y, src.X, src.Y, size.Width, size.Height, _handles[fileName], DX.TRUE, DX.FALSE); DX.DrawRectGraph(point.X, point.Y, src.X, src.Y, size.Width, size.Height, _handles[fileName], DX.TRUE, DX.FALSE); DX.DrawRectGraph(point.X, point.Y, src.X, src.Y, size.Width, size.Height, _handles[fileName], DX.TRUE, DX.FALSE); DX.DrawRectGraph(point.X, point.Y, src.X, src.Y, size.Width, size.Height, _handles[fileName], DX.TRUE, DX.FALSE); DX.DrawRectGraph(point.X, point.Y, src.X, src.Y, size.Width, size.Height, _handles[fileName], DX.TRUE, DX.FALSE); DX.DrawRectGraph(point.X, point.Y, src.X, src.Y, size.Width, size.Height, _handles[fileName], DX.TRUE, DX.FALSE); DX.DrawRectGraph(point.X, point.Y, src.X, src.Y, size.Width, size.Height, _handles[fileName], DX.TRUE, DX.FALSE); DX.DrawRectGraph(point.X, point.Y, src.X, src.Y, size.Width, size.Height, _handles[fileName], DX.TRUE, DX.FALSE); DX.DrawRectGraph(point.X, point.Y, src.X, src.Y, size.Width, size.Height, _handles[fileName], DX.TRUE, DX.FALSE); DX.SetDrawBlendMode(DX.DX_BLENDMODE_NOBLEND, 0); }
public void DrawClip(string fileName, Point src, Size size, Point point) { if (!_handles.ContainsKey(fileName)) Load(fileName); DX.DrawRectGraph(point.X, point.Y, src.X, src.Y, size.Width, size.Height, _handles[fileName], DX.TRUE, DX.FALSE); }