7#include "core/fpdfapi/render/cpdf_renderoptions.h"
11constexpr uint32_t kCacheSizeLimitBytes = 100 * 1024 * 1024;
43 std::tie(a, r, g, b) = ArgbDecode(argb);
54 switch (object_type) {
70 switch (object_type) {
81 return kCacheSizeLimitBytes;
85 return !m_pOCContext || m_pOCContext->CheckOCGDictVisible(pOC);
90 return !m_pOCContext || m_pOCContext->CheckPageObjectVisible(pPageObj);
FX_ARGB TranslateColor(FX_ARGB argb) const
uint32_t GetCacheSizeLimit() const
bool CheckPageObjectVisible(const CPDF_PageObject *pPageObj) const
bool CheckOCGDictVisible(const CPDF_Dictionary *pOC) const
CPDF_RenderOptions(const CPDF_RenderOptions &rhs)
FX_ARGB TranslateObjectStrokeColor(FX_ARGB argb, CPDF_PageObject::Type object_type) const
bool ColorModeIs(Type mode) const
FX_ARGB TranslateObjectFillColor(FX_ARGB argb, CPDF_PageObject::Type object_type) const
#define FXRGB2GRAY(r, g, b)
constexpr FX_ARGB ArgbEncode(uint32_t a, uint32_t r, uint32_t g, uint32_t b)
FX_ARGB path_stroke_color
FX_ARGB text_stroke_color
Options(const Options &rhs)
Options & operator=(const Options &rhs)