"Evan Stade" estade@gmail.com writes:
+GpStatus WINGDIPAPI GdipScaleMatrix(GpMatrix *matrix, REAL scaleX, REAL scaleY,
- GpMatrixOrder order)
+{
- REAL scale[6];
- if(!matrix)
return InvalidParameter;
- memset(scale, 0, 6 * sizeof(REAL));
Using memset for floats is not a good idea, you should use explicit initialization.