MCPcopy Create free account
hub / github.com/creatale/node-dv / dist2

Function dist2

deps/tesseract/api/pdfrenderer.cpp:221–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221long dist2(int x1, int y1, int x2, int y2) {
222 return (x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1);
223}
224
225// Viewers like evince can get really confused during copy-paste when
226// the baseline wanders around. So I've decided to project every word

Callers 1

GetWordBaselineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected