Package app.photofox.vipsffm.generated
Class _VipsRect
java.lang.Object
app.photofox.vipsffm.generated._VipsRect
-
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegmentallocate(SegmentAllocator allocator) Allocate a segment of sizelayout().byteSize()usingallocatorstatic MemorySegmentallocateArray(long elementCount, SegmentAllocator allocator) Allocate an array of sizeelementCountusingallocator.static MemorySegmentasSlice(MemorySegment array, long index) Obtains a slice ofarrayParamwhich selects the array element atindex.static intheight(MemorySegment struct) Getter for field:int heightstatic voidheight(MemorySegment struct, int fieldValue) Setter for field:int heightstatic final ValueLayout.OfIntLayout for field:int heightstatic final longOffset for field:int heightstatic final GroupLayoutlayout()The layout of this structstatic intleft(MemorySegment struct) Getter for field:int leftstatic voidleft(MemorySegment struct, int fieldValue) Setter for field:int leftstatic final ValueLayout.OfIntLayout for field:int leftstatic final longOffset for field:int leftstatic MemorySegmentreinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static MemorySegmentreinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static longsizeof()The size (in bytes) of this structstatic inttop(MemorySegment struct) Getter for field:int topstatic voidtop(MemorySegment struct, int fieldValue) Setter for field:int topstatic final ValueLayout.OfIntLayout for field:int topstatic final longOffset for field:int topstatic intwidth(MemorySegment struct) Getter for field:int widthstatic voidwidth(MemorySegment struct, int fieldValue) Setter for field:int widthstatic final ValueLayout.OfIntLayout for field:int widthstatic final longOffset for field:int width
-
Method Details
-
layout
The layout of this struct -
left$layout
Layout for field:int left -
left$offset
public static final long left$offset()Offset for field:int left -
left
Getter for field:int left -
left
Setter for field:int left -
top$layout
Layout for field:int top -
top$offset
public static final long top$offset()Offset for field:int top -
top
Getter for field:int top -
top
Setter for field:int top -
width$layout
Layout for field:int width -
width$offset
public static final long width$offset()Offset for field:int width -
width
Getter for field:int width -
width
Setter for field:int width -
height$layout
Layout for field:int height -
height$offset
public static final long height$offset()Offset for field:int height -
height
Getter for field:int height -
height
Setter for field:int height -
asSlice
Obtains a slice ofarrayParamwhich selects the array element atindex. The returned segment has addressarrayParam.address() + index * layout().byteSize() -
sizeof
public static long sizeof()The size (in bytes) of this struct -
allocate
Allocate a segment of sizelayout().byteSize()usingallocator -
allocateArray
Allocate an array of sizeelementCountusingallocator. The returned segment has sizeelementCount * layout().byteSize(). -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizelayout().byteSize() -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizeelementCount * layout().byteSize()
-