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

Function draw_y_graticules

src/fe-analysedriveresponse.cc:199–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199static void draw_y_graticules(Agg2D& painter,
200 double x1,
201 double y1,
202 double x2,
203 double y2,
204 double lo,
205 double hi,
206 double step)
207{
208 painter.noFill();
209 painter.lineColor(0, 0, 0, 128);
210
211 do_in_steps(y1,
212 y2,
213 lo,
214 hi,
215 step,
216 [&](double y, double v)
217 {
218 painter.line(x1, y, x2, y);
219 });
220}
221
222static void draw_x_graticules(Agg2D& painter,
223 double x1,

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