GetTextExtentExPointA method

int GetTextExtentExPointA(
  1. Pointer<HDC__> hdc,
  2. Pointer<Int8> lpszString,
  3. int cchString,
  4. int nMaxExtent,
  5. Pointer<Int32> lpnFit,
  6. Pointer<Int32> lpnDx,
  7. Pointer<LPSIZE> lpSize,
)

Implementation

int GetTextExtentExPointA(
  ffi.Pointer<HDC__> hdc,
  ffi.Pointer<ffi.Int8> lpszString,
  int cchString,
  int nMaxExtent,
  ffi.Pointer<ffi.Int32> lpnFit,
  ffi.Pointer<ffi.Int32> lpnDx,
  ffi.Pointer<LPSIZE> lpSize,
) {
  return (_GetTextExtentExPointA ??= _dylib.lookupFunction<
      _c_GetTextExtentExPointA,
      _dart_GetTextExtentExPointA>('GetTextExtentExPointA'))(
    hdc,
    lpszString,
    cchString,
    nMaxExtent,
    lpnFit,
    lpnDx,
    lpSize,
  );
}