Sign in
◑
Theme
appsheet-third-party
/
d3
/
a38daa4f3a67692352e2fc6a71613a989491742f
/
.
/
src
/
geo
/
compose.js
blob: fe374ef820eeeb77c89b04424ac5af454268d2c6 [
file
]
function
d3_geo_compose
(
a
,
b
)
{
function
compose
(
x
,
y
)
{
return
x
=
a
(
x
,
y
),
b
(
x
[
0
],
x
[
1
]);
}
if
(
a
.
invert
&&
b
.
invert
)
compose
.
invert
=
function
(
x
,
y
)
{
return
x
=
b
.
invert
(
x
,
y
),
x
&&
a
.
invert
(
x
[
0
],
x
[
1
]);
};
return
compose
;
}