resize method

int resize(
  1. double width,
  2. double height
)

Implementation

int resize(double width, double height) => (ptr.ref.vtable + 4)
        .cast<
            Pointer<
                NativeFunction<
                    Int32 Function(Pointer, Double width, Double height)>>>()
        .value
        .asFunction<int Function(Pointer, double width, double height)>()(
    ptr.ref.lpVtbl, width, height);