FPDFPageObj_SetLineCap function

  1. @Native<FPDF_BOOL Function(FPDF_PAGEOBJECT, FPDF_BOOL)>(FPDF_PAGEOBJECT, ffi.Int)>()
int FPDFPageObj_SetLineCap(
  1. FPDF_PAGEOBJECT page_object,
  2. int line_cap
)

Set the line cap of |page_object|.

page_object - handle to a page object. line_cap - line cap

Line cap can be one of following: FPDF_LINECAP_BUTT, FPDF_LINECAP_ROUND, FPDF_LINECAP_PROJECTING_SQUARE

Implementation

@ffi.Native<FPDF_BOOL Function(FPDF_PAGEOBJECT, ffi.Int)>()
external int FPDFPageObj_SetLineCap(FPDF_PAGEOBJECT page_object, int line_cap);