MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / draw_x_graticules

Function draw_x_graticules

src/fe-analysedriveresponse.cc:222–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222static void draw_x_graticules(Agg2D& painter,
223 double x1,
224 double y1,
225 double x2,
226 double y2,
227 double lo,
228 double hi,
229 double step)
230{
231 painter.noFill();
232 painter.lineColor(0, 0, 0, 128);
233
234 do_in_steps(x1,
235 x2,
236 lo,
237 hi,
238 step,
239 [&](double x, double v)
240 {
241 painter.line(x, y1, x, y2);
242 });
243}
244
245int mainAnalyseDriveResponse(int argc, const char* argv[])
246{

Callers 1

mainAnalyseDriveResponseFunction · 0.85

Calls 4

do_in_stepsFunction · 0.85
noFillMethod · 0.80
lineColorMethod · 0.80
lineMethod · 0.45

Tested by

no test coverage detected