summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/fpdf_edit.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/public/fpdf_edit.h b/public/fpdf_edit.h
index ce02a6406d..4d06c2a0c8 100644
--- a/public/fpdf_edit.h
+++ b/public/fpdf_edit.h
@@ -343,6 +343,21 @@ DLLEXPORT FPDF_BOOL FPDFPath_SetFillColor(FPDF_PAGEOBJECT path,
unsigned int B,
unsigned int A);
+// Get the fill RGBA of a path. Range of values: 0 - 255.
+//
+// path - the handle to the path object.
+// R - the red component of the path fill color.
+// G - the green component of the path fill color.
+// B - the blue component of the path fill color.
+// A - the fill alpha of the path.
+//
+// Returns TRUE on success.
+DLLEXPORT FPDF_BOOL FPDFPath_GetFillColor(FPDF_PAGEOBJECT path,
+ unsigned int* R,
+ unsigned int* G,
+ unsigned int* B,
+ unsigned int* A);
+
// Move a path's current point.
//
// path - the handle to the path object.