drawErrorMixin

Undocumented in source.
package
enum drawErrorMixin = q{ void drawErrorBar(Pen pen, double x, double from, double to, double width) { immutable xPixels = toPixelsX(x); immutable fromPixels = toPixelsY(from); immutable toPixels = toPixelsY(to); immutable horizLeft = toPixelsX(x - width / 2); immutable horizRight = toPixelsX(x + width / 2); form.drawClippedLine(pen, PlotPoint(xPixels, fromPixels), PlotPoint(xPixels, toPixels)); form.drawClippedLine(pen, PlotPoint(horizLeft, toPixels), PlotPoint(horizRight, toPixels)); } };

Meta