summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_streamcontentparser.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-04-12 21:23:15 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-12 21:23:15 +0000
commit008b928ea39904374bc0dc8888e27bc48c812bda (patch)
tree5525b4c893aa2eae0f188747d64b6ead68225993 /core/fpdfapi/page/cpdf_streamcontentparser.h
parent1638179e85863b5045fcea2282fd3e0622aeac13 (diff)
downloadpdfium-008b928ea39904374bc0dc8888e27bc48c812bda.tar.xz
Rename one CPDF_Color::SetValue() variant.
Rename it to SetValueForPattern() and combine the components parameters into a std::vector. Fix the callers to use std::vector as well. Change-Id: Ib3426e0ffdb164f0fbb10d462ad251bf91165925 Reviewed-on: https://pdfium-review.googlesource.com/30450 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_streamcontentparser.h')
-rw-r--r--core/fpdfapi/page/cpdf_streamcontentparser.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/fpdfapi/page/cpdf_streamcontentparser.h b/core/fpdfapi/page/cpdf_streamcontentparser.h
index ff80ae9ef1..2711a39918 100644
--- a/core/fpdfapi/page/cpdf_streamcontentparser.h
+++ b/core/fpdfapi/page/cpdf_streamcontentparser.h
@@ -122,6 +122,9 @@ class CPDF_StreamContentParser {
// Takes ownership of |pImageObj|, returns unowned pointer to it.
CPDF_ImageObject* AddImageObject(std::unique_ptr<CPDF_ImageObject> pImageObj);
+ std::vector<float> GetColors() const;
+ std::vector<float> GetNamedColors() const;
+
void Handle_CloseFillStrokePath();
void Handle_FillStrokePath();
void Handle_CloseEOFillStrokePath();