summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_stroke.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-01-16 21:20:46 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-16 21:20:46 +0000
commit454ab87a354099fb96eee4721328d59f42ca0557 (patch)
treeaa34af648d28465f1558550237cc41b9d9b3696c /xfa/fxfa/parser/cxfa_stroke.h
parent62d4bb21760706a5d466869db05b504548e7108a (diff)
downloadpdfium-454ab87a354099fb96eee4721328d59f42ca0557.tar.xz
Move StrokePath to the CXFA_Stroke class
This CL moves the code to draw the stroke path to the stroke class. Change-Id: I76ae96e15a166d8bae19618c762d5ad923ed8d8a Reviewed-on: https://pdfium-review.googlesource.com/23030 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_stroke.h')
-rw-r--r--xfa/fxfa/parser/cxfa_stroke.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/cxfa_stroke.h b/xfa/fxfa/parser/cxfa_stroke.h
index 42b7ec0c20..d3eeff1ed2 100644
--- a/xfa/fxfa/parser/cxfa_stroke.h
+++ b/xfa/fxfa/parser/cxfa_stroke.h
@@ -18,6 +18,8 @@ enum StrokeSameStyle {
XFA_STROKE_SAMESTYLE_Corner = 2
};
+class CXFA_GEPath;
+class CXFA_Graphics;
class CXFA_Node;
class CXFA_Stroke : public CXFA_Node {
@@ -42,6 +44,8 @@ class CXFA_Stroke : public CXFA_Node {
bool SameStyles(CXFA_Stroke* stroke, uint32_t dwFlags);
+ void Stroke(CXFA_GEPath* pPath, CXFA_Graphics* pGS, const CFX_Matrix& matrix);
+
protected:
CXFA_Stroke(CXFA_Document* pDoc,
XFA_PacketType ePacket,