summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_linear.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_linear.h')
-rw-r--r--xfa/fxfa/parser/cxfa_linear.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/cxfa_linear.h b/xfa/fxfa/parser/cxfa_linear.h
index d17f7ffcb2..bb55f8073c 100644
--- a/xfa/fxfa/parser/cxfa_linear.h
+++ b/xfa/fxfa/parser/cxfa_linear.h
@@ -7,9 +7,12 @@
#ifndef XFA_FXFA_PARSER_CXFA_LINEAR_H_
#define XFA_FXFA_PARSER_CXFA_LINEAR_H_
+#include "core/fxcrt/fx_coordinates.h"
#include "xfa/fxfa/parser/cxfa_node.h"
+#include "xfa/fxgraphics/cxfa_gepath.h"
class CXFA_Color;
+class CXFA_Graphics;
class CXFA_Linear : public CXFA_Node {
public:
@@ -18,6 +21,13 @@ class CXFA_Linear : public CXFA_Node {
CXFA_Linear(CXFA_Document* doc, XFA_PacketType packet);
~CXFA_Linear() override;
+ void Draw(CXFA_Graphics* pGS,
+ CXFA_GEPath* fillPath,
+ FX_ARGB crStart,
+ const CFX_RectF& rtFill,
+ const CFX_Matrix& matrix);
+
+ private:
XFA_AttributeEnum GetType();
CXFA_Color* GetColorIfExists();
};