7#ifndef CORE_FPDFAPI_RENDER_CPDF_RENDEROPTIONS_H_
8#define CORE_FPDFAPI_RENDER_CPDF_RENDEROPTIONS_H_
12#include "core/fpdfapi/page/cpdf_occontext.h"
13#include "core/fpdfapi/page/cpdf_pageobject.h"
14#include "core/fxcrt/retain_ptr.h"
15#include "core/fxge/dib/fx_dib.h"
58 m_ColorScheme = color_scheme;
75 m_pOCContext = context;
80 bool m_bDrawAnnots =
false;
CFX_FloatRect(const FX_RECT &rect)
FX_RECT GetOuterRect() const
CFX_FloatRect TransformRect(const CFX_FloatRect &rect) const
void Translate(int32_t x, int32_t y)
void Scale(float sx, float sy)
int GetDeviceCaps(int id) const
CPDF_DeviceBuffer(CPDF_RenderContext *pContext, CFX_RenderDevice *pDevice, const FX_RECT &rect, const CPDF_PageObject *pObj, int max_dpi)
const CFX_Matrix & GetMatrix() const
static CFX_Matrix CalculateMatrix(CFX_RenderDevice *pDevice, const FX_RECT &rect, int max_dpi, bool scale)
RetainPtr< CFX_DIBitmap > Initialize()
std::map< ByteString, RetainPtr< CPDF_Object >, std::less<> > DictMap
FX_ARGB TranslateColor(FX_ARGB argb) const
uint32_t GetCacheSizeLimit() const
const Options & GetOptions() const
bool CheckPageObjectVisible(const CPDF_PageObject *pPageObj) const
bool CheckOCGDictVisible(const CPDF_Dictionary *pOC) const
void SetColorScheme(const ColorScheme &color_scheme)
CPDF_RenderOptions(const CPDF_RenderOptions &rhs)
FX_ARGB TranslateObjectStrokeColor(FX_ARGB argb, CPDF_PageObject::Type object_type) const
void SetOCContext(RetainPtr< CPDF_OCContext > context)
bool ColorModeIs(Type mode) const
void SetDrawAnnots(bool draw)
bool GetDrawAnnots() const
FX_ARGB TranslateObjectFillColor(FX_ARGB argb, CPDF_PageObject::Type object_type) const
void SetColorMode(Type mode)
#define NOTREACHED_NORETURN()
#define FXDC_PIXEL_HEIGHT
FX_ARGB path_stroke_color
FX_ARGB text_stroke_color
Options(const Options &rhs)
Options & operator=(const Options &rhs)
bool bConvertFillToStroke
FX_RECT(const FX_RECT &that)=default