Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpdf_renderoptions.h>
Classes | |
struct | ColorScheme |
struct | Options |
Public Types | |
enum | Type : uint8_t { kNormal = 0 , kGray , kAlpha , kForcedColor } |
Public Member Functions | |
CPDF_RenderOptions () | |
CPDF_RenderOptions (const CPDF_RenderOptions &rhs) | |
~CPDF_RenderOptions () | |
FX_ARGB | TranslateColor (FX_ARGB argb) const |
FX_ARGB | TranslateObjectFillColor (FX_ARGB argb, CPDF_PageObject::Type object_type) const |
FX_ARGB | TranslateObjectStrokeColor (FX_ARGB argb, CPDF_PageObject::Type object_type) const |
void | SetColorScheme (const ColorScheme &color_scheme) |
void | SetColorMode (Type mode) |
bool | ColorModeIs (Type mode) const |
const Options & | GetOptions () const |
Options & | GetOptions () |
uint32_t | GetCacheSizeLimit () const |
bool | CheckOCGDictVisible (const CPDF_Dictionary *pOC) const |
bool | CheckPageObjectVisible (const CPDF_PageObject *pPageObj) const |
void | SetDrawAnnots (bool draw) |
bool | GetDrawAnnots () const |
void | SetOCContext (RetainPtr< CPDF_OCContext > context) |
Definition at line 19 of file cpdf_renderoptions.h.
enum CPDF_RenderOptions::Type : uint8_t |
Enumerator | |
---|---|
kNormal | |
kGray | |
kAlpha | |
kForcedColor |
Definition at line 21 of file cpdf_renderoptions.h.
CPDF_RenderOptions::CPDF_RenderOptions | ( | ) |
Definition at line 23 of file cpdf_renderoptions.cpp.
References CPDF_RenderOptions::Options::bClearType.
|
default |
|
default |
bool CPDF_RenderOptions::CheckOCGDictVisible | ( | const CPDF_Dictionary * | pOC | ) | const |
Definition at line 84 of file cpdf_renderoptions.cpp.
Referenced by CPDF_ImageRenderer::Start().
bool CPDF_RenderOptions::CheckPageObjectVisible | ( | const CPDF_PageObject * | pPageObj | ) | const |
Definition at line 88 of file cpdf_renderoptions.cpp.
|
inline |
Definition at line 62 of file cpdf_renderoptions.h.
Referenced by CPDF_RenderShading::Draw(), CPDF_RenderTiling::Draw(), TranslateColor(), TranslateObjectFillColor(), and TranslateObjectStrokeColor().
uint32_t CPDF_RenderOptions::GetCacheSizeLimit | ( | ) | const |
Definition at line 80 of file cpdf_renderoptions.cpp.
|
inline |
Definition at line 72 of file cpdf_renderoptions.h.
|
inline |
Definition at line 65 of file cpdf_renderoptions.h.
|
inline |
Definition at line 64 of file cpdf_renderoptions.h.
Referenced by CPDF_RenderShading::Draw().
Definition at line 61 of file cpdf_renderoptions.h.
|
inline |
Definition at line 57 of file cpdf_renderoptions.h.
Referenced by SetColorFromScheme().
|
inline |
Definition at line 71 of file cpdf_renderoptions.h.
|
inline |
Definition at line 74 of file cpdf_renderoptions.h.
Definition at line 33 of file cpdf_renderoptions.cpp.
References ArgbEncode(), ColorModeIs(), kAlpha, and kNormal.
Referenced by TranslateObjectFillColor(), and TranslateObjectStrokeColor().
FX_ARGB CPDF_RenderOptions::TranslateObjectFillColor | ( | FX_ARGB | argb, |
CPDF_PageObject::Type | object_type ) const |
Definition at line 48 of file cpdf_renderoptions.cpp.
References ColorModeIs(), kForcedColor, CPDF_PageObject::kPath, CPDF_PageObject::kText, CPDF_RenderOptions::ColorScheme::path_fill_color, CPDF_RenderOptions::ColorScheme::text_fill_color, and TranslateColor().
FX_ARGB CPDF_RenderOptions::TranslateObjectStrokeColor | ( | FX_ARGB | argb, |
CPDF_PageObject::Type | object_type ) const |
Definition at line 64 of file cpdf_renderoptions.cpp.
References ColorModeIs(), kForcedColor, CPDF_PageObject::kPath, CPDF_PageObject::kText, CPDF_RenderOptions::ColorScheme::path_stroke_color, CPDF_RenderOptions::ColorScheme::text_stroke_color, and TranslateColor().