(p1: number[], p2: number[])
| 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 |
no test coverage detected
searching dependent graphs…