Nikolay Sivov (@nsivov) commented about dlls/d2d1/factory.c:
return sqrtf(x * x + y * y + z * z);
}
+float WINAPI D2D1ComputeMaximumScaleFactor(const D2D1_MATRIX_3X2_F *mat)
A few cosmetic things. Please move this after D2D1InvertMatrix() so that all matrix functions are in the same place. Then for consistency, existing functions use "matrix" for argument name, let's do the same.