$allocate static method
Pointer<MpRegionOfInterest>
$allocate(
- Allocator $allocator, {
- required MpRegionOfInterestFormat format,
- required Pointer<
MpNormalizedKeypoint> keypoint, - required Pointer<
MpNormalizedKeypoint> scribble, - required int scribble_count,
Implementation
static ffi.Pointer<MpRegionOfInterest> $allocate(
ffi.Allocator $allocator, {
required MpRegionOfInterestFormat format,
required ffi.Pointer<MpNormalizedKeypoint> keypoint,
required ffi.Pointer<MpNormalizedKeypoint> scribble,
required int scribble_count,
}) => $allocator<MpRegionOfInterest>()
..ref.format = format
..ref.keypoint = keypoint
..ref.scribble = scribble
..ref.scribble_count = scribble_count;