internal void DestroyPen(D2DPen pen) { if (pen == null) { throw new ArgumentNullException(nameof(pen)); } D2D.DestroyPen(pen.Handle); }
public void DrawRectangle(D2DRect rect, D2DPen strokePen, FLOAT strokeWidth = 1) { D2D.DrawRectangleWithPen(this.Handle, ref rect, strokePen.Handle, strokeWidth); }
public void DrawRoundedRectangle(D2DRoundedRect roundedRect, D2DPen strokePen, D2DBrush fillBrush, FLOAT strokeWidth = 1) { D2D.DrawRoundedRectWithBrush(this.Handle, ref roundedRect, strokePen.Handle, fillBrush.Handle, strokeWidth); }
public void DrawPath(D2DGeometry path, D2DPen strokePen, FLOAT strokeWidth = 1f) { D2D.DrawPathWithPen(path.Handle, strokePen.Handle, strokeWidth); }