Format all C++ and Java code via clang-format

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-08-17 14:32:37 +07:00
parent 9f0290c0ec
commit bfffa1fff4
2169 changed files with 56441 additions and 64188 deletions

View File

@@ -122,23 +122,18 @@ public:
/// Compute arbitrary pixel transformation, that translates the (oldPt1, oldPt2) -> (newPt1,
/// newPt2)
static MatrixT CalcTransform(m2::PointD const & oldPt1, m2::PointD const & oldPt2,
m2::PointD const & newPt1, m2::PointD const & newPt2,
bool allowRotate, bool allowScale);
static MatrixT CalcTransform(m2::PointD const & oldPt1, m2::PointD const & oldPt2, m2::PointD const & newPt1,
m2::PointD const & newPt2, bool allowRotate, bool allowScale);
/// Setting GtoP matrix extracts the Angle and m_Org parameters, leaving PixelRect intact
void SetGtoPMatrix(MatrixT const & m);
/// Extracting parameters from matrix, that is supposed to represent GtoP transformation
static void ExtractGtoPParams(MatrixT const & m, double & a, double & s, double & dx,
double & dy);
static void ExtractGtoPParams(MatrixT const & m, double & a, double & s, double & dx, double & dy);
bool operator!=(ScreenBase const & src) const { return !(*this == src); }
bool operator==(ScreenBase const & src) const
{
return (m_GtoP == src.m_GtoP) && (m_PtoG == src.m_PtoG);
}
bool operator==(ScreenBase const & src) const { return (m_GtoP == src.m_GtoP) && (m_PtoG == src.m_PtoG); }
private:
// Used when initializing m_GlobalRect.