diff options
author | Lei Zhang <thestig@chromium.org> | 2018-01-16 20:44:56 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-16 20:44:56 +0000 |
commit | 62d4bb21760706a5d466869db05b504548e7108a (patch) | |
tree | 4768dfb5c62f0f8cc802df459d134b9a7986f4c8 /xfa/fxgraphics/cxfa_graphics.h | |
parent | 7824b6348e956d9310192515f8fce22c9f14d40e (diff) | |
download | pdfium-62d4bb21760706a5d466869db05b504548e7108a.tar.xz |
Remove CXFA_Graphics::StretchImage() and related code.
It is never used.
Change-Id: I46c8202cb9e449317fdc1889ff9a610d5ea15d92
Reviewed-on: https://pdfium-review.googlesource.com/22910
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa/fxgraphics/cxfa_graphics.h')
-rw-r--r-- | xfa/fxgraphics/cxfa_graphics.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/xfa/fxgraphics/cxfa_graphics.h b/xfa/fxgraphics/cxfa_graphics.h index 16cd123fc7..c8843bc87d 100644 --- a/xfa/fxgraphics/cxfa_graphics.h +++ b/xfa/fxgraphics/cxfa_graphics.h @@ -15,7 +15,6 @@ #include "core/fxge/cfx_graphstatedata.h" #include "core/fxge/cfx_renderdevice.h" #include "core/fxge/fx_dib.h" -#include "core/fxge/fx_font.h" #include "xfa/fxgraphics/cxfa_gecolor.h" class CXFA_GEPath; @@ -65,9 +64,6 @@ class CXFA_Graphics { void FillPath(CXFA_GEPath* path, FX_FillMode fillMode, const CFX_Matrix* matrix); - void StretchImage(const RetainPtr<CFX_DIBSource>& source, - const CFX_RectF& rect, - const CFX_Matrix& matrix); void ConcatMatrix(const CFX_Matrix* matrix); protected: @@ -92,9 +88,6 @@ class CXFA_Graphics { void RenderDeviceFillPath(const CXFA_GEPath* path, FX_FillMode fillMode, const CFX_Matrix* matrix); - void RenderDeviceStretchImage(const RetainPtr<CFX_DIBSource>& source, - const CFX_RectF& rect, - const CFX_Matrix& matrix); void FillPathWithPattern(const CXFA_GEPath* path, FX_FillMode fillMode, |