diff options
author | wileyrya <wileyrr@gmail.com> | 2017-05-26 15:20:23 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-26 20:45:40 +0000 |
commit | 06bbdef296b483e6f666156b198319019d3c6373 (patch) | |
tree | b63b6fe150abc4fb9eef8db39c76c63a60ba0ca9 /public/fpdf_edit.h | |
parent | cdfc035f4ea2e786c7d7820e143c18bdb11fac3f (diff) | |
download | pdfium-06bbdef296b483e6f666156b198319019d3c6373.tar.xz |
Add public API for setting the blend mode on a page object.
BUG=pdfium:720
R=npm@chromium.org
Change-Id: I2a43b34da6946265ca06502b9ff19ad352fd18cb
Reviewed-on: https://pdfium-review.googlesource.com/5953
Commit-Queue: Nicolás Peña <npm@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'public/fpdf_edit.h')
-rw-r--r-- | public/fpdf_edit.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/public/fpdf_edit.h b/public/fpdf_edit.h index 677bdb28d3..2014e6faf4 100644 --- a/public/fpdf_edit.h +++ b/public/fpdf_edit.h @@ -311,6 +311,17 @@ DLLEXPORT FPDF_BOOL STDCALL FPDFPageObj_GetBounds(FPDF_PAGEOBJECT pageObject, float* right, float* top); +// Set the blend mode of |pageObject|. +// +// pageObject - handle to a page object. +// blend_mode - string containing the blend mode. +// +// Blend mode can be one of following: Color, ColorBurn, ColorDodge, Darken, +// Difference, Exclusion, HardLight, Hue, Lighten, Luminosity, Multiply, Normal, +// Overlay, Saturation, Screen, SoftLight +DLLEXPORT void STDCALL FPDFPageObj_SetBlendMode(FPDF_PAGEOBJECT page, + FPDF_BYTESTRING blend_mode); + // Set the stroke RGBA of a path. Range of values: 0 - 255. // // path - the handle to the path object. |