diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-10-16 14:06:12 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-10-16 19:46:25 +0000 |
commit | 9521036052646f60dc5c1ccd4821108eac4bca55 (patch) | |
tree | 0b4581c60b574fe02664d6cd52e8b56f25b07290 /core/fpdfdoc/cpvt_generateap.h | |
parent | 9df8033a5c78719517a0351c14f6af4349bb160d (diff) | |
download | pdfium-9521036052646f60dc5c1ccd4821108eac4bca55.tar.xz |
More more CPVT_GenerateAP methods to anonymous namespacechromium/3242
The Edit, Border and Color generation methods are only used in the
CPVT_GenerateAP file. This CL moves them to the anonymous namespace.
Change-Id: I2a5805edddd1ffb5616608054111e08e0b3f8e6f
Reviewed-on: https://pdfium-review.googlesource.com/16110
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpvt_generateap.h')
-rw-r--r-- | core/fpdfdoc/cpvt_generateap.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/core/fpdfdoc/cpvt_generateap.h b/core/fpdfdoc/cpvt_generateap.h index 42ff33981c..828e8596f1 100644 --- a/core/fpdfdoc/cpvt_generateap.h +++ b/core/fpdfdoc/cpvt_generateap.h @@ -19,7 +19,6 @@ class CPDF_Dictionary; class CPDF_Document; struct CPVT_Dash; -class IPVT_FontMap; class CPVT_GenerateAP { public: @@ -44,20 +43,7 @@ class CPVT_GenerateAP { CPDF_Dictionary* pAnnotDict); static bool GenerateUnderlineAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict); - static ByteString GenerateEditAP(IPVT_FontMap* pFontMap, - CPDF_VariableText::Iterator* pIterator, - const CFX_PointF& ptOffset, - bool bContinuous, - uint16_t SubWord); - static ByteString GenerateBorderAP(const CFX_FloatRect& rect, - float fWidth, - const CFX_Color& color, - const CFX_Color& crLeftTop, - const CFX_Color& crRightBottom, - BorderStyle nStyle, - const CPVT_Dash& dash); - static ByteString GenerateColorAP(const CFX_Color& color, - PaintOperation nOperation); + static std::unique_ptr<CPDF_Dictionary> GenerateExtGStateDict( const CPDF_Dictionary& pAnnotDict, const ByteString& sExtGSDictName, |