Package app.photofox.vipsffm.generated
Class _VipsForeignSave
java.lang.Object
app.photofox.vipsffm.generated._VipsForeignSave
- Direct Known Subclasses:
VipsForeignSave
struct _VipsForeignSave {
VipsForeign parent_object;
gboolean strip;
VipsForeignKeep keep;
char *profile;
VipsArrayDouble *background;
int page_height;
VipsImage *in;
VipsImage *ready;
}
-
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 MemorySegmentbackground(MemorySegment struct) Getter for field:VipsArrayDouble *backgroundstatic voidbackground(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsArrayDouble *backgroundstatic final AddressLayoutLayout for field:VipsArrayDouble *backgroundstatic final longOffset for field:VipsArrayDouble *backgroundstatic MemorySegmentin(MemorySegment struct) Getter for field:VipsImage *instatic voidin(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsImage *instatic final AddressLayoutLayout for field:VipsImage *instatic final longOffset for field:VipsImage *instatic intkeep(MemorySegment struct) Getter for field:VipsForeignKeep keepstatic voidkeep(MemorySegment struct, int fieldValue) Setter for field:VipsForeignKeep keepstatic final ValueLayout.OfIntLayout for field:VipsForeignKeep keepstatic final longOffset for field:VipsForeignKeep keepstatic final GroupLayoutlayout()The layout of this structstatic intpage_height(MemorySegment struct) Getter for field:int page_heightstatic voidpage_height(MemorySegment struct, int fieldValue) Setter for field:int page_heightstatic final ValueLayout.OfIntLayout for field:int page_heightstatic final longOffset for field:int page_heightstatic MemorySegmentparent_object(MemorySegment struct) Getter for field:VipsForeign parent_objectstatic voidparent_object(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsForeign parent_objectstatic final GroupLayoutLayout for field:VipsForeign parent_objectstatic final longOffset for field:VipsForeign parent_objectstatic MemorySegmentprofile(MemorySegment struct) Getter for field:char *profilestatic voidprofile(MemorySegment struct, MemorySegment fieldValue) Setter for field:char *profilestatic final AddressLayoutLayout for field:char *profilestatic final longOffset for field:char *profilestatic MemorySegmentready(MemorySegment struct) Getter for field:VipsImage *readystatic voidready(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsImage *readystatic final AddressLayoutLayout for field:VipsImage *readystatic final longOffset for field:VipsImage *readystatic 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 intstrip(MemorySegment struct) Getter for field:gboolean stripstatic voidstrip(MemorySegment struct, int fieldValue) Setter for field:gboolean stripstatic final ValueLayout.OfIntLayout for field:gboolean stripstatic final longOffset for field:gboolean strip
-
Method Details
-
layout
The layout of this struct -
parent_object$layout
Layout for field:VipsForeign parent_object -
parent_object$offset
public static final long parent_object$offset()Offset for field:VipsForeign parent_object -
parent_object
Getter for field:VipsForeign parent_object -
parent_object
Setter for field:VipsForeign parent_object -
strip$layout
Layout for field:gboolean strip -
strip$offset
public static final long strip$offset()Offset for field:gboolean strip -
strip
Getter for field:gboolean strip -
strip
Setter for field:gboolean strip -
keep$layout
Layout for field:VipsForeignKeep keep -
keep$offset
public static final long keep$offset()Offset for field:VipsForeignKeep keep -
keep
Getter for field:VipsForeignKeep keep -
keep
Setter for field:VipsForeignKeep keep -
profile$layout
Layout for field:char *profile -
profile$offset
public static final long profile$offset()Offset for field:char *profile -
profile
Getter for field:char *profile -
profile
Setter for field:char *profile -
background$layout
Layout for field:VipsArrayDouble *background -
background$offset
public static final long background$offset()Offset for field:VipsArrayDouble *background -
background
Getter for field:VipsArrayDouble *background -
background
Setter for field:VipsArrayDouble *background -
page_height$layout
Layout for field:int page_height -
page_height$offset
public static final long page_height$offset()Offset for field:int page_height -
page_height
Getter for field:int page_height -
page_height
Setter for field:int page_height -
in$layout
Layout for field:VipsImage *in -
in$offset
public static final long in$offset()Offset for field:VipsImage *in -
in
Getter for field:VipsImage *in -
in
Setter for field:VipsImage *in -
ready$layout
Layout for field:VipsImage *ready -
ready$offset
public static final long ready$offset()Offset for field:VipsImage *ready -
ready
Getter for field:VipsImage *ready -
ready
Setter for field:VipsImage *ready -
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()
-