diff options
author | dsinclair <dsinclair@chromium.org> | 2016-09-29 12:31:44 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-29 12:31:44 -0700 |
commit | 61df2c78c3fb28bb3c3bd9be90e4c0aa03cd55a6 (patch) | |
tree | 822334a7bd8f0ec50dfaa6b555d298927ec7e24c /core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h | |
parent | c6c425af1156587fd9b770e5d40bc087df0c63d8 (diff) | |
download | pdfium-61df2c78c3fb28bb3c3bd9be90e4c0aa03cd55a6.tar.xz |
Move core/fpdfapi/fpdf_render/include to core/fpdfapi/fpdf_render
BUG=pdfium:611
Review-Url: https://codereview.chromium.org/2382763002
Diffstat (limited to 'core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h')
-rw-r--r-- | core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h b/core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h deleted file mode 100644 index 7c513aea9e..0000000000 --- a/core/fpdfapi/fpdf_render/include/cpdf_renderoptions.h +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2016 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 CORE_FPDFAPI_FPDF_RENDER_INCLUDE_CPDF_RENDEROPTIONS_H_ -#define CORE_FPDFAPI_FPDF_RENDER_INCLUDE_CPDF_RENDEROPTIONS_H_ - -#include "core/fxcrt/include/fx_system.h" -#include "core/fxge/include/fx_dib.h" - -class CPDF_OCContext; - -#define RENDER_COLOR_NORMAL 0 -#define RENDER_COLOR_GRAY 1 -#define RENDER_COLOR_TWOCOLOR 2 -#define RENDER_COLOR_ALPHA 3 -#define RENDER_CLEARTYPE 0x00000001 -#define RENDER_PRINTGRAPHICTEXT 0x00000002 -#define RENDER_FORCE_DOWNSAMPLE 0x00000004 -#define RENDER_PRINTPREVIEW 0x00000008 -#define RENDER_BGR_STRIPE 0x00000010 -#define RENDER_NO_NATIVETEXT 0x00000020 -#define RENDER_FORCE_HALFTONE 0x00000040 -#define RENDER_RECT_AA 0x00000080 -#define RENDER_FILL_FULLCOVER 0x00000100 -#define RENDER_PRINTIMAGETEXT 0x00000200 -#define RENDER_OVERPRINT 0x00000400 -#define RENDER_THINLINE 0x00000800 -#define RENDER_NOTEXTSMOOTH 0x10000000 -#define RENDER_NOPATHSMOOTH 0x20000000 -#define RENDER_NOIMAGESMOOTH 0x40000000 -#define RENDER_LIMITEDIMAGECACHE 0x80000000 - -class CPDF_RenderOptions { - public: - CPDF_RenderOptions(); - CPDF_RenderOptions(const CPDF_RenderOptions& rhs); - FX_ARGB TranslateColor(FX_ARGB argb) const; - - int m_ColorMode; - FX_COLORREF m_BackColor; - FX_COLORREF m_ForeColor; - uint32_t m_Flags; - int m_Interpolation; - uint32_t m_AddFlags; - CPDF_OCContext* m_pOCContext; - uint32_t m_dwLimitCacheSize; - int m_HalftoneLimit; - bool m_bDrawAnnots; -}; - -#endif // CORE_FPDFAPI_FPDF_RENDER_INCLUDE_CPDF_RENDEROPTIONS_H_ |