View_setViewport function

  1. @Native<Void Function(Pointer<TView>, Uint32, Uint32)>(ffi.Pointer<TView>, ffi.Uint32, ffi.Uint32)>(isLeaf: true)
void View_setViewport(
  1. Pointer<TView> view,
  2. int width,
  3. int height
)

Implementation

@ffi.Native<ffi.Void Function(ffi.Pointer<TView>, ffi.Uint32, ffi.Uint32)>(
    isLeaf: true)
external void View_setViewport(
  ffi.Pointer<TView> view,
  int width,
  int height,
);