internal override void draw(DrawContext context, System.Drawing.Drawing2D.Matrix transform, ScenicColor color) { context.renderer.color(context.context, color); context.renderer.setTransform(context.context, transform); context.renderer.polylineSetStyle(context.context, (float)lineWidth, endCap, lineJoin, (float)miterLimit, dashArray, dashPhase); path.walk(new Walker(this, context), transform, context.pathError); }
public virtual void draw(DrawContext cntxt, System.Drawing.Drawing2D.Matrix transform) { Console.WriteLine("Tesselator >>> begin draw"); context = cntxt; begin(path.Convex, context.context); path.walk(new Walker(this), transform, context.pathError); end(context.context); draw(context.context); Console.WriteLine("Tesselator >>> end draw"); }