mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-06-05 17:51:03 +02:00
Remove the unused Outline._normalizePagePoint method
This method was added in PR 19093, back in 2024, however it never actually appears to have been used.
This commit is contained in:
parent
65b8aec420
commit
036436a0be
@ -85,19 +85,6 @@ class Outline {
|
||||
}
|
||||
}
|
||||
|
||||
static _normalizePagePoint(x, y, rotation) {
|
||||
switch (rotation) {
|
||||
case 90:
|
||||
return [1 - y, x];
|
||||
case 180:
|
||||
return [1 - x, 1 - y];
|
||||
case 270:
|
||||
return [y, 1 - x];
|
||||
default:
|
||||
return [x, y];
|
||||
}
|
||||
}
|
||||
|
||||
static createBezierPoints(x1, y1, x2, y2, x3, y3) {
|
||||
return [
|
||||
(x1 + 5 * x2) / 6,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user