Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Unified Diff: xfa/src/fxgraphics/src/fx_metafile_interpreter.h

Issue 1570743002: XFA: Remove many relative includes in xfa/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: address some comments Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: xfa/src/fxgraphics/src/fx_metafile_interpreter.h
diff --git a/xfa/src/fxgraphics/src/fx_metafile_interpreter.h b/xfa/src/fxgraphics/src/fx_metafile_interpreter.h
deleted file mode 100644
index 713cf0c5d86ad969376323da96f97181e1866d0f..0000000000000000000000000000000000000000
--- a/xfa/src/fxgraphics/src/fx_metafile_interpreter.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright 2014 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 __H_FX_METAFILE_INTERPRETER__
-#define __H_FX_METAFILE_INTERPRETER__
-class CFX_MetafileInterpreter {
- public:
- CFX_MetafileInterpreter();
- virtual ~CFX_MetafileInterpreter();
-
- FX_BOOL SetCurrentElement(CXML_Element* element);
-
- FX_BOOL ParamOf_SetLineCap(int32_t& lineCap);
- FX_BOOL ParamOf_SetLineDash(FX_FLOAT& dashPhase,
- int32_t& dashArray,
- int32_t& dashCount);
- FX_BOOL ParamOf_SetLineDash(int32_t& dashStyle);
- FX_BOOL ParamOf_SetLineJoin(int32_t& lineJoin);
- FX_BOOL ParamOf_SetMiterLimit(FX_FLOAT& miterLimit);
- FX_BOOL ParamOf_SetLineWidth(FX_FLOAT& lineWidth, int32_t& isActOnDash);
-
- FX_BOOL ParamOf_SetStrokeColor(int32_t& color);
- FX_BOOL ParamOf_SetFillColor(int32_t& color);
-
- FX_BOOL ParamOf_StrokePath(int32_t& path, int32_t& matrix);
- FX_BOOL ParamOf_FillPath(int32_t& path, int32_t& fillMode, int32_t& matrix);
- FX_BOOL ParamOf_ClipPath(int32_t& path, int32_t& fillMode, int32_t& matrix);
-
- FX_BOOL ParamOf_DrawImage(int32_t& source, int32_t& point, int32_t& matrix);
- FX_BOOL ParamOf_StretchImage(int32_t& source, int32_t& rect, int32_t& matrix);
-
- FX_BOOL ParamOf_ConcatMatrix(int32_t& matrix);
- FX_BOOL ParamOf_SetClipRect(int32_t& rect);
- FX_BOOL ParamOf_SetFont(int32_t& font);
- FX_BOOL ParamOf_SetFontSize(FX_FLOAT& size);
- FX_BOOL ParamOf_SetFontHScale(FX_FLOAT& scale);
- FX_BOOL ParamOf_SetCharSpacing(FX_FLOAT& spacing);
- FX_BOOL ParamOf_SetTextDrawingMode(int32_t& mode);
- FX_BOOL ParamOf_SetText(int32_t& point, int32_t& text, int32_t& matrix);
- FX_BOOL ParamOf_Transfer(int32_t& graphics, int32_t& matrix);
- FX_BOOL ParamOf_Transfer(int32_t& graphics,
- FX_FLOAT& srcLeft,
- FX_FLOAT& srcTop,
- int32_t& dstRect,
- int32_t& matrix);
-
- private:
- CXML_Element* _element;
-};
-#endif
« no previous file with comments | « xfa/src/fxfa/src/parser/xfa_utils_imp_unittest.cpp ('k') | xfa/src/fxgraphics/src/fx_metafile_interpreter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698