diff options
Diffstat (limited to 'fpdfsdk/src/fsdk_baseform.cpp')
-rw-r--r-- | fpdfsdk/src/fsdk_baseform.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/fpdfsdk/src/fsdk_baseform.cpp b/fpdfsdk/src/fsdk_baseform.cpp index 98836e9465..80f8c8fcad 100644 --- a/fpdfsdk/src/fsdk_baseform.cpp +++ b/fpdfsdk/src/fsdk_baseform.cpp @@ -329,7 +329,7 @@ void CPDFSDK_Widget::ResetFieldAppearance(FX_BOOL bValueChanged) { } void CPDFSDK_Widget::DrawAppearance(CFX_RenderDevice* pDevice, - const CPDF_Matrix* pUser2Device, + const CFX_Matrix* pUser2Device, CPDF_Annot::AppearanceMode mode, const CPDF_RenderOptions* pOptions) { int nFieldType = GetFieldType(); @@ -378,7 +378,7 @@ void CPDFSDK_Widget::DrawShadow(CFX_RenderDevice* pDevice, CPDFDoc_Environment* pEnv = m_pInterForm->GetDocument()->GetEnv(); if (!pEnv) return; - CFX_AffineMatrix page2device; + CFX_Matrix page2device; pPageView->GetCurrentMatrix(page2device); page2device.Transform(((FX_FLOAT)rc.left), ((FX_FLOAT)rc.bottom), rcDevice.left, rcDevice.bottom); @@ -1312,8 +1312,8 @@ CFX_ByteString CPDFSDK_Widget::GetBorderAppStream() const { dsBorder); } -CPDF_Matrix CPDFSDK_Widget::GetMatrix() const { - CPDF_Matrix mt; +CFX_Matrix CPDFSDK_Widget::GetMatrix() const { + CFX_Matrix mt; CPDF_FormControl* pControl = GetFormControl(); ASSERT(pControl != NULL); @@ -1324,16 +1324,16 @@ CPDF_Matrix CPDFSDK_Widget::GetMatrix() const { switch (abs(pControl->GetRotation() % 360)) { case 0: default: - mt = CPDF_Matrix(1, 0, 0, 1, 0, 0); + mt = CFX_Matrix(1, 0, 0, 1, 0, 0); break; case 90: - mt = CPDF_Matrix(0, 1, -1, 0, fWidth, 0); + mt = CFX_Matrix(0, 1, -1, 0, fWidth, 0); break; case 180: - mt = CPDF_Matrix(-1, 0, 0, -1, fWidth, fHeight); + mt = CFX_Matrix(-1, 0, 0, -1, fWidth, fHeight); break; case 270: - mt = CPDF_Matrix(0, -1, 1, 0, 0, fHeight); + mt = CFX_Matrix(0, -1, 1, 0, 0, fHeight); break; } |