FPDFFont_GetItalicAngle function

  1. @Native<FPDF_BOOL Function(FPDF_FONT, Pointer<Int>)>(FPDF_FONT, ffi.Pointer<ffi.Int>)>()
int FPDFFont_GetItalicAngle(
  1. FPDF_FONT font,
  2. Pointer<Int> angle
)

Experimental API. Get the italic angle of a font.

font - the handle to the font object. angle - pointer where the italic angle will be stored

The italic angle of a |font| is defined as degrees counterclockwise from vertical. For a font that slopes to the right, this will be negative.

Returns TRUE on success; |angle| unmodified on failure.

Implementation

@ffi.Native<FPDF_BOOL Function(FPDF_FONT, ffi.Pointer<ffi.Int>)>()
external int FPDFFont_GetItalicAngle(
  FPDF_FONT font,
  ffi.Pointer<ffi.Int> angle,
);