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

Method calc_end_point_source

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

Source from the content-addressed store, hash-verified

1332 }
1333
1334 calc_end_point_source(curr_x, curr_y, x_direction, y_direction) {
1335 curr_y = y_direction == 1 ? curr_y : curr_y + 1;
1336 curr_x = x_direction == 1 ? curr_x : curr_x + 1;
1337 return [{ x: curr_x * this.column_width, y: curr_y * this.row_height }];
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;

Callers 1

get_end_pointsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected