public D2DLayer PushLayer(D2DGeometry geometry = null) { // FIXME: resolve to not use magic number D2DRect rectBounds = new D2DRect(-999999, -999999, 999999999, 999999999); return(PushLayer(rectBounds, geometry)); }
public void FillPath(D2DGeometry path, D2DColor fillColor) { D2D.FillPathD(path.Handle, fillColor); }
public void DrawPath(D2DGeometry path, D2DColor strokeColor, FLOAT strokeWidth = 1f, D2DDashStyle dashStyle = D2DDashStyle.Solid) { D2D.DrawPath(path.Handle, strokeColor, strokeWidth, dashStyle); }
public void DrawPath(D2DGeometry path, D2DPen strokePen, FLOAT strokeWidth = 1f) { D2D.DrawPathWithPen(path.Handle, strokePen.Handle, strokeWidth); }
public D2DLayer PushLayer(D2DLayer layer, D2DRect rectBounds, D2DGeometry geometry = null) { D2D.PushLayer(this.Handle, layer.Handle, ref rectBounds, geometry != null ? geometry.Handle : IntPtr.Zero); return(layer); }
public D2DLayer PushLayer(D2DRect rectBounds, D2DGeometry geometry = null) { var layer = this.Device.CreateLayer(); return(PushLayer(layer, rectBounds, geometry)); }