示例#1
0
 public void Regular()
 {
     Bmp.FillEllipseCentered(CurrentX, CurrentY, BrushSize, BrushSize, BrushColor);
     Bmp.DrawLineCustom(OldX, OldY, CurrentX, CurrentY, BrushColor, BrushSize * 2);
     //bmp.FillEllipseCentered((int)current.X, (int)current.Y, (int)brushSize.Value, (int)brushSize.Value, colorPicker.Color);
     //bmp.DrawLineAa((int)old.X, (int)old.Y, (int)current.X, (int)current.Y, colorPicker.Color, (int)brushSize.Value * 2);
 }
示例#2
0
 public void Double()
 {
     //Brush that draws two lines at once
     Bmp.FillEllipseCentered(CurrentX, CurrentY, BrushSize, BrushSize, BrushColor);
     Bmp.DrawLineCustom(OldX, OldY, CurrentX, CurrentY, BrushColor, BrushSize * 2);
     Bmp.FillEllipseCentered(CurrentX + BrushSize + 100, CurrentY + BrushSize + 100, BrushSize, BrushSize, BrushColor);
     Bmp.DrawLineCustom(OldX + BrushSize + 100, OldY + BrushSize + 100, CurrentX + BrushSize + 100, CurrentY + BrushSize + 100, BrushColor, BrushSize * 2);
 }
示例#3
0
 public void Erase()
 {
     Bmp.FillEllipseCentered(CurrentX, CurrentY, BrushSize, BrushSize, Color.FromArgb(0, 0, 0, 0));
 }