Remove some more deprecated code. Commit 3475b482 did not fully remove all the deprecated code. Change-Id: I52dd548288480e8dd8a430dc83c0e2259a8cdd79 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/54490 Reviewed-by: Nicolás Peña Moreno <npm@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/fpdfsdk/fpdf_editpath.cpp b/fpdfsdk/fpdf_editpath.cpp index cef4867..2274d6a 100644 --- a/fpdfsdk/fpdf_editpath.cpp +++ b/fpdfsdk/fpdf_editpath.cpp
@@ -68,19 +68,6 @@ return FPDFPageObjectFromCPDFPageObject(pPathObj.release()); } -FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV -FPDFPath_GetStrokeColor(FPDF_PAGEOBJECT path, - unsigned int* R, - unsigned int* G, - unsigned int* B, - unsigned int* A) { - auto* pPathObj = CPDFPathObjectFromFPDFPageObject(path); - if (!pPathObj) - return false; - - return FPDFPageObj_GetStrokeColor(path, R, G, B, A); -} - FPDF_EXPORT int FPDF_CALLCONV FPDFPath_CountSegments(FPDF_PAGEOBJECT path) { auto* pPathObj = CPDFPathObjectFromFPDFPageObject(path); if (!pPathObj) @@ -228,24 +215,6 @@ return true; } -FPDF_EXPORT void FPDF_CALLCONV FPDFPath_SetLineJoin(FPDF_PAGEOBJECT path, - int line_join) { - auto* pPathObj = CPDFPathObjectFromFPDFPageObject(path); - if (!pPathObj) - return; - - FPDFPageObj_SetLineJoin(path, line_join); -} - -FPDF_EXPORT void FPDF_CALLCONV FPDFPath_SetLineCap(FPDF_PAGEOBJECT path, - int line_cap) { - auto* pPathObj = CPDFPathObjectFromFPDFPageObject(path); - if (!pPathObj) - return; - - FPDFPageObj_SetLineCap(path, line_cap); -} - FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPathSegment_GetPoint(FPDF_PATHSEGMENT segment, float* x, float* y) { auto* pPathPoint = FXPathPointFromFPDFPathSegment(segment);