public override void FillRenderVx(Brush brush, RenderVx renderVx) { //TODO: review brush implementation here WinGdiRenderVx wRenderVx = (WinGdiRenderVx)renderVx; VxsHelper.FillPath(_skCanvas, wRenderVx.path, _fill); }
public override RenderVx CreateRenderVx(VertexStoreSnap snap) { var renderVx = new WinGdiRenderVx(snap); renderVx.path = VxsHelper.CreateGraphicsPath(snap); return(renderVx); }
public override void PaintSeries(VertexStore vxs, Color[] colors, int[] pathIndexs, int numPath) { var prevColor = FillColor; for (int i = 0; i < numPath; ++i) { _fill.Color = ConvToSkColor(colors[i]); VxsHelper.FillVxsSnap(_skCanvas, new VertexStoreSnap(vxs, pathIndexs[i]), _fill); } FillColor = prevColor; }
public override void FillRenderVx(RenderVx renderVx) { WinGdiRenderVx wRenderVx = (WinGdiRenderVx)renderVx; VxsHelper.FillPath(_skCanvas, wRenderVx.path, _fill); }
public override void DrawRenderVx(RenderVx renderVx) { WinGdiRenderVx wRenderVx = (WinGdiRenderVx)renderVx; VxsHelper.DrawPath(_skCanvas, wRenderVx.path, _stroke); }
/// <summary> /// we do NOT store snap/vxs /// </summary> /// <param name="snap"></param> public override void Fill(VertexStoreSnap snap) { VxsHelper.FillVxsSnap(_skCanvas, snap, _fill); }
/// <summary> /// we do NOT store snap/vxs /// </summary> /// <param name="vxs"></param> public override void Fill(VertexStore vxs) { VxsHelper.FillVxsSnap(_skCanvas, new VertexStoreSnap(vxs), _fill); }
public override void Draw(VertexStore vxs) { VxsHelper.DrawVxsSnap(_skCanvas, new VertexStoreSnap(vxs), _stroke); }