private hPolyline AddPolyline(wPolyline InputCurve) { hPolyline crv = new hPolyline(InputCurve); crv.BuildSVGCurve(); return(crv); }
public void CompoundPolyline() { hCompoundCurve crv = new hCompoundCurve(); hShape shape = new hShape("p" + Index); hPath path = new hPath(); GroupCheck(Shapes); foreach (wShape Shape in Shapes.Shapes) { hPolyline pline = AddPolyline((wPolyline)Shape.Curve); crv.AddCurve(pline); } shape.SetShape(crv); shape.AddAttribute(new hBoolean(hBoolean.FillRule.evenodd).Value); shape = SetGraphics(shape, Shapes.Graphics); if (Shapes.Effects.HasEffect) { hFilter filter = SetEffects(Shapes.Effects, Index); PathSet[Shapes.Group].Append(filter.Value); shape.AddAttribute(filter.ApplyFilter()); } path = new hPath(shape); PathSet[Shapes.Group].Append(path.svgPath); }
public void AddCurve(hPolyline HoopoePolyline) { Curve.Append(HoopoePolyline.Curve.ToString()); }