Remove unused CFX_VTemplate methods.
Translate(), Scale(), and Rotate() are not used anywhere.
Change-Id: I336889db24d960c2aec044f7671d0e2726d66f0c
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/83891
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/core/fxcrt/fx_coordinates.h b/core/fxcrt/fx_coordinates.h
index 39b4776..f31cad8 100644
--- a/core/fxcrt/fx_coordinates.h
+++ b/core/fxcrt/fx_coordinates.h
@@ -158,20 +158,6 @@
x /= fLen;
y /= fLen;
}
- void Translate(BaseType dx, BaseType dy) {
- x += dx;
- y += dy;
- }
- void Scale(BaseType sx, BaseType sy) {
- x *= sx;
- y *= sy;
- }
- void Rotate(float fRadian) {
- float cosValue = cos(fRadian);
- float sinValue = sin(fRadian);
- x = x * cosValue - y * sinValue;
- y = x * sinValue + y * cosValue;
- }
};
using CFX_Vector = CFX_VTemplate<int32_t>;
using CFX_VectorF = CFX_VTemplate<float>;