public void Draw(IGraphicContext graphicContext) { DrawCore(graphicContext); foreach (var child in Children) { using (graphicContext.ApplyOffset(child.X, child.Y)) { child.Draw(graphicContext); } } }
public void Draw(IGraphicContext graphicContext) { DrawCore(graphicContext); foreach (var child in Children) { using (graphicContext.ApplyOffset(child.X, child.Y)) { child.Draw(graphicContext); } } }