MCPcopy Index your code
hub / github.com/apache/echarts / subPixelOptimizePP

Function subPixelOptimizePP

src/component/axis/axisBreakHelperImpl.ts:385–392  ·  view source on GitHub ↗
(p1: number[], p2: number[])

Source from the content-addressed store, hash-verified

383 }
384
385 function subPixelOptimizePP(p1: number[], p2: number[]): void {
386 const shape = {x1: p1[0], y1: p1[1], x2: p2[0], y2: p2[1]};
387 subPixelOptimizeLine(shape, shape, pathBaseProp.style);
388 p1[0] = shape.x1;
389 p1[1] = shape.y1;
390 p2[0] = shape.x2;
391 p2[1] = shape.y2;
392 }
393 const lineP1 = [min, 0];
394 const lineP2 = [max, 0];
395

Callers 1

addSegFunction · 0.85

Calls 1

subPixelOptimizeLineFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…