diff options
Diffstat (limited to 'core/fpdfapi/page/cpdf_color.h')
-rw-r--r-- | core/fpdfapi/page/cpdf_color.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_color.h b/core/fpdfapi/page/cpdf_color.h index 31bc125d83..a6e640c736 100644 --- a/core/fpdfapi/page/cpdf_color.h +++ b/core/fpdfapi/page/cpdf_color.h @@ -7,6 +7,8 @@ #ifndef CORE_FPDFAPI_PAGE_CPDF_COLOR_H_ #define CORE_FPDFAPI_PAGE_CPDF_COLOR_H_ +#include <vector> + #include "core/fpdfapi/page/cpdf_colorspace.h" #include "core/fxcrt/fx_system.h" @@ -24,7 +26,8 @@ class CPDF_Color { void SetColorSpace(CPDF_ColorSpace* pCS); void SetValue(const float* comp); - void SetValue(CPDF_Pattern* pPattern, const float* comp, uint32_t ncomps); + void SetValueForPattern(CPDF_Pattern* pPattern, + const std::vector<float>& values); bool GetRGB(int* R, int* G, int* B) const; |