public override void Draw(IBCoord coord) { base.Draw(coord); double dist = IBCoord.GetDistance(histCoord[0], coord); if (dist < 0.1) { return; } if (trgLayer == null) { return; } switch (trgLayer.LayerType) { case ImageTypes.LineDrawing: EraseLineDrawingImage(trgLayer, Size); break; default: return; } }
public override void Draw(IBCoord coord) { base.Draw(coord); if (trgCell == null) { return; } trgCell.IsPixcelSelecting = true; SelectersLayerMode = true; double dist = IBCoord.GetDistance(histCoord[0], coord); if (dist < 0.1) { return; } Draw(trgCell.PixcelSelectedArea); }