$allocate static method
Pointer<Pos>
$allocate(
- Allocator $allocator, {
- required int imageWidth,
- required int imageHeight,
- required int topLeftX,
- required int topLeftY,
- required int topRightX,
- required int topRightY,
- required int bottomLeftX,
- required int bottomLeftY,
- required int bottomRightX,
- required int bottomRightY,
})
Implementation
static ffi.Pointer<Pos> $allocate(
ffi.Allocator $allocator, {
required int imageWidth,
required int imageHeight,
required int topLeftX,
required int topLeftY,
required int topRightX,
required int topRightY,
required int bottomLeftX,
required int bottomLeftY,
required int bottomRightX,
required int bottomRightY,
}) => $allocator<Pos>()
..ref.imageWidth = imageWidth
..ref.imageHeight = imageHeight
..ref.topLeftX = topLeftX
..ref.topLeftY = topLeftY
..ref.topRightX = topRightX
..ref.topRightY = topRightY
..ref.bottomLeftX = bottomLeftX
..ref.bottomLeftY = bottomLeftY
..ref.bottomRightX = bottomRightX
..ref.bottomRightY = bottomRightY;