aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/xps
diff options
context:
space:
mode:
Diffstat (limited to 'src/xps')
-rw-r--r--src/xps/SkXPSDevice.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/xps/SkXPSDevice.cpp b/src/xps/SkXPSDevice.cpp
index 6f62f89b45..801b80c0b0 100644
--- a/src/xps/SkXPSDevice.cpp
+++ b/src/xps/SkXPSDevice.cpp
@@ -35,7 +35,6 @@
#include "SkImageEncoder.h"
#include "SkImagePriv.h"
#include "SkMaskFilter.h"
-#include "SkMatrixPriv.h"
#include "SkPaint.h"
#include "SkPathEffect.h"
#include "SkPathOps.h"
@@ -520,12 +519,12 @@ HRESULT SkXPSDevice::createXpsTransform(const SkMatrix& matrix,
return S_FALSE;
}
XPS_MATRIX rawXpsMatrix = {
- SkScalarToFLOAT(affine[SkMatrixPriv::kAScaleX]),
- SkScalarToFLOAT(affine[SkMatrixPriv::kASkewY]),
- SkScalarToFLOAT(affine[SkMatrixPriv::kASkewX]),
- SkScalarToFLOAT(affine[SkMatrixPriv::kAScaleY]),
- SkScalarToFLOAT(affine[SkMatrixPriv::kATransX]),
- SkScalarToFLOAT(affine[SkMatrixPriv::kATransY]),
+ SkScalarToFLOAT(affine[SkMatrix::kAScaleX]),
+ SkScalarToFLOAT(affine[SkMatrix::kASkewY]),
+ SkScalarToFLOAT(affine[SkMatrix::kASkewX]),
+ SkScalarToFLOAT(affine[SkMatrix::kAScaleY]),
+ SkScalarToFLOAT(affine[SkMatrix::kATransX]),
+ SkScalarToFLOAT(affine[SkMatrix::kATransY]),
};
HRM(this->fXpsFactory->CreateMatrixTransform(&rawXpsMatrix, xpsTransform),
"Could not create transform.");