From 2eb1a705c243b2d5ab912268dd453f5ade075b6f Mon Sep 17 00:00:00 2001 From: Nicolas Pena Date: Thu, 9 Feb 2017 18:17:33 -0500 Subject: Add line width option for stroking paths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BUG=pdfium:661 Change-Id: Ie1dc82a1323a35ebbd63a5b7b8f8c95f9a5325fe Reviewed-on: https://pdfium-review.googlesource.com/2613 Reviewed-by: Tom Sepez Commit-Queue: Nicolás Peña --- public/fpdf_edit.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'public/fpdf_edit.h') diff --git a/public/fpdf_edit.h b/public/fpdf_edit.h index d151c5c6ab..a43d181c81 100644 --- a/public/fpdf_edit.h +++ b/public/fpdf_edit.h @@ -299,6 +299,14 @@ DLLEXPORT FPDF_BOOL FPDFPath_SetStrokeColor(FPDF_PAGEOBJECT path, unsigned int B, unsigned int A); +// Set the stroke width of a path. +// +// path - the handle to the path object. +// width - the width of the stroke. +// +// Returns TRUE on success +DLLEXPORT FPDF_BOOL FPDFPath_SetStrokeWidth(FPDF_PAGEOBJECT path, float width); + // Set the fill RGBA of a path. Range of values: 0 - 255. // // path - the handle to the path object. -- cgit v1.2.3