summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffrectangle.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/cxfa_ffrectangle.h')
-rw-r--r--xfa/fxfa/cxfa_ffrectangle.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/xfa/fxfa/cxfa_ffrectangle.h b/xfa/fxfa/cxfa_ffrectangle.h
new file mode 100644
index 0000000000..bec5d080a0
--- /dev/null
+++ b/xfa/fxfa/cxfa_ffrectangle.h
@@ -0,0 +1,23 @@
+// Copyright 2017 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#ifndef XFA_FXFA_CXFA_FFRECTANGLE_H_
+#define XFA_FXFA_CXFA_FFRECTANGLE_H_
+
+#include "xfa/fxfa/cxfa_ffdraw.h"
+
+class CXFA_FFRectangle : public CXFA_FFDraw {
+ public:
+ explicit CXFA_FFRectangle(CXFA_WidgetAcc* pDataAcc);
+ ~CXFA_FFRectangle() override;
+
+ // CXFA_FFWidget
+ void RenderWidget(CXFA_Graphics* pGS,
+ CFX_Matrix* pMatrix,
+ uint32_t dwStatus) override;
+};
+
+#endif // XFA_FXFA_CXFA_FFRECTANGLE_H_