summaryrefslogtreecommitdiff
path: root/fpdfsdk/fsdk_define.h
diff options
context:
space:
mode:
authorwileyrya <wileyrr@gmail.com>2017-05-26 11:38:14 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-05-26 17:20:01 +0000
commit864e9fb67f42186ce24d9bf09e643c85ff89a175 (patch)
tree47812402bb4e75d02ff62da3470447fbde12d940 /fpdfsdk/fsdk_define.h
parent22a237fb403d76d65a254c4f9cf1c1a9d0b22772 (diff)
downloadpdfium-864e9fb67f42186ce24d9bf09e643c85ff89a175.tar.xz
Add public API for setting the fill color on a text object
BUG=pdfium:719 R=npm@chromium.org Change-Id: Ifd9330de265f8419d588b65fbd6a6187f17badd1 Reviewed-on: https://pdfium-review.googlesource.com/5950 Reviewed-by: Nicolás Peña <npm@chromium.org> Commit-Queue: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'fpdfsdk/fsdk_define.h')
-rw-r--r--fpdfsdk/fsdk_define.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fpdfsdk/fsdk_define.h b/fpdfsdk/fsdk_define.h
index b7691bbdd9..e14cc19ea1 100644
--- a/fpdfsdk/fsdk_define.h
+++ b/fpdfsdk/fsdk_define.h
@@ -79,5 +79,10 @@ void FPDF_RenderPage_Retail(CPDF_PageRenderContext* pContext,
void CheckUnSupportError(CPDF_Document* pDoc, uint32_t err_code);
void CheckUnSupportAnnot(CPDF_Document* pDoc, const CPDF_Annot* pPDFAnnot);
void ProcessParseError(CPDF_Parser::Error err);
+FPDF_BOOL FPDFPageObj_SetFillColor(FPDF_PAGEOBJECT page_object,
+ unsigned int R,
+ unsigned int G,
+ unsigned int B,
+ unsigned int A);
#endif // FPDFSDK_FSDK_DEFINE_H_