public void FillRectangle(Rectangle rect, FillRectType type) { if (this.render == null || this.render.IsDisposed) { return; } D2D.SolidColorBrush brush = null; switch (type) { case FillRectType.OverwriteCaret: brush = this._factory.GetSolidColorBrush(this.OverwriteCaret); this.render.FillRectangle(rect, brush); break; case FillRectType.InsertCaret: brush = this._factory.GetSolidColorBrush(this.InsertCaret); this.render.FillRectangle(rect, brush); break; case FillRectType.InsertPoint: brush = this._factory.GetSolidColorBrush(this.Hilight); this.render.FillRectangle(rect, brush); break; case FillRectType.LineMarker: brush = this._factory.GetSolidColorBrush(this.LineMarker); this.render.DrawRectangle(rect, brush, EditView.LineMarkerThickness); break; case FillRectType.UpdateArea: brush = this._factory.GetSolidColorBrush(this.UpdateArea); this.render.FillRectangle(rect, brush); break; case FillRectType.Background: brush = this._factory.GetSolidColorBrush(this.Background); this.render.FillRectangle(rect, brush); break; } }
public void FillRectangle(Rectangle rect, FillRectType type) { if (this.Printing) { return; } switch (type) { case FillRectType.OverwriteCaret: this.Context.DrawRectangle(this.Brushes[this.OverwriteCaret], null, rect); break; case FillRectType.InsertCaret: this.Context.DrawRectangle(this.Brushes[this.InsertCaret], null, rect); break; case FillRectType.InsertPoint: break; case FillRectType.LineMarker: this.Context.DrawRectangle(this.Brushes[this.LineMarker], null, rect); break; } }
public void FillRectangle(Rectangle rect, FillRectType type) { }
public void FillRectangle(Rectangle rect, FillRectType type) { throw new NotImplementedException(); }