Merge pull request #21287 from Snuffleupagus/rm-_normalizePagePoint

Remove the unused `Outline._normalizePagePoint` method
This commit is contained in:
Tim van der Meij 2026-05-17 12:47:57 +02:00 committed by GitHub
commit f290da0e4b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,