diff options
author | Lei Zhang <thestig@chromium.org> | 2018-10-24 17:30:11 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-24 17:30:11 +0000 |
commit | cd11df62b64655c24d44a65b2a76d723fc214077 (patch) | |
tree | 8a8ce4ed1e627c65a7c384c929d52e17975b9930 /public | |
parent | 57360839a2eeecc8e32e326994f8853099ccd2fa (diff) | |
download | pdfium-cd11df62b64655c24d44a65b2a76d723fc214077.tar.xz |
Implement FPDFPageObj_GetLineCap().
Add unit tests for FPDFPageObj_[GS]etLineCap().
BUG=pdfium:1186
Change-Id: I3df907713a8846fd7481300c5caf102293f381ba
Reviewed-on: https://pdfium-review.googlesource.com/c/44516
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'public')
-rw-r--r-- | public/fpdf_edit.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/public/fpdf_edit.h b/public/fpdf_edit.h index 4babd7ea3a..42c654c3de 100644 --- a/public/fpdf_edit.h +++ b/public/fpdf_edit.h @@ -868,6 +868,16 @@ FPDF_EXPORT void FPDF_CALLCONV FPDFPath_SetLineJoin(FPDF_PAGEOBJECT page_object, FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetLineJoin(FPDF_PAGEOBJECT page_object, int line_join); +// Get the line cap of |page_object|. +// +// page_object - handle to a page object. +// +// Returns the line cap, or -1 on failure. +// Line cap can be one of following: FPDF_LINECAP_BUTT, FPDF_LINECAP_ROUND, +// FPDF_LINECAP_PROJECTING_SQUARE +FPDF_EXPORT int FPDF_CALLCONV +FPDFPageObj_GetLineCap(FPDF_PAGEOBJECT page_object); + // DEPRECATED as of May 2018. This API will be removed in the future. Please // use FPDFPageObj_SetLineCap instead. // |