Sha256: 00c8c31177ec78a62f031e75ac515bab030415f756b35aeac371860f2cbcd2b7

Contents?: true

Size: 543 Bytes

Versions: 5

Compression:

Stored size: 543 Bytes

Contents

import "../core/noop";

var d3_geo_pathBoundsX0,
    d3_geo_pathBoundsY0,
    d3_geo_pathBoundsX1,
    d3_geo_pathBoundsY1;

var d3_geo_pathBounds = {
  point: d3_geo_pathBoundsPoint,
  lineStart: d3_noop,
  lineEnd: d3_noop,
  polygonStart: d3_noop,
  polygonEnd: d3_noop
};

function d3_geo_pathBoundsPoint(x, y) {
  if (x < d3_geo_pathBoundsX0) d3_geo_pathBoundsX0 = x;
  if (x > d3_geo_pathBoundsX1) d3_geo_pathBoundsX1 = x;
  if (y < d3_geo_pathBoundsY0) d3_geo_pathBoundsY0 = y;
  if (y > d3_geo_pathBoundsY1) d3_geo_pathBoundsY1 = y;
}

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
mdarray-sol-0.1.0-java node_modules/dc/node_modules/d3/src/geo/path-bounds.js
stripchart-0.0.3 lib/stripchart/public/components/d3/src/geo/path-bounds.js
stripmem-0.0.3 lib/stripmem/public/components/d3/src/geo/path-bounds.js
stripmem-0.0.2 lib/stripmem/public/components/d3/src/geo/path-bounds.js
stripmem-0.0.1 lib/stripmem/public/components/d3/src/geo/path-bounds.js