1 // Copyright 2014 PDFium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #ifndef _XFA_DRAW_IMAGE_IMP_H 8 #define _XFA_DRAW_IMAGE_IMP_H 9 class CXFA_FFImage : public CXFA_FFDraw { 10 public: 11 CXFA_FFImage(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); 12 virtual ~CXFA_FFImage(); 13 virtual void RenderWidget(CFX_Graphics* pGS, 14 CFX_Matrix* pMatrix = NULL, 15 FX_DWORD dwStatus = 0, 16 int32_t iRotate = 0); 17 virtual FX_BOOL IsLoaded(); 18 virtual FX_BOOL LoadWidget(); 19 virtual void UnloadWidget(); 20 }; 21 #endif 22