MCPcopy Index your code
hub / github.com/bqplot/bqplot / calc_end_point_dest

Method calc_end_point_dest

js/src/MarketMap.ts:1340–1344  ·  view source on GitHub ↗
(curr_x, curr_y, x_direction, y_direction)

Source from the content-addressed store, hash-verified

1338 }
1339
1340 calc_end_point_dest(curr_x, curr_y, x_direction, y_direction) {
1341 curr_y = y_direction == -1 ? curr_y : curr_y + 1;
1342 curr_x = x_direction == -1 ? curr_x : curr_x + 1;
1343 return [{ x: curr_x * this.column_width, y: curr_y * this.row_height }];
1344 }
1345
1346 scales: Dict<Scale>;
1347 num_rows: number;

Callers 1

get_end_pointsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected