@NoOffset @Properties(inherit=Qt5Core.class) public class QSize extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
QSize() |
QSize(int w,
int h) |
QSize(long size)
Native array allocator.
|
QSize(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
QSize |
addPut(QSize arg0) |
QSize |
boundedTo(QSize arg0) |
QSize |
dividePut(double c) |
QSize |
expandedTo(QSize arg0) |
QSize |
getPointer(long i) |
int |
height() |
boolean |
isEmpty() |
boolean |
isNull() |
boolean |
isValid() |
QSize |
multiplyPut(double c) |
QSize |
position(long position) |
IntPointer |
rheight() |
IntPointer |
rwidth() |
void |
scale(int w,
int h,
int mode) |
void |
scale(QSize s,
int mode) |
QSize |
scaled(int w,
int h,
int mode) |
QSize |
scaled(QSize s,
int mode) |
void |
setHeight(int h) |
void |
setWidth(int w) |
QSize |
subtractPut(QSize arg0) |
void |
transpose() |
QSize |
transposed() |
int |
width() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public QSize(Pointer p)
Pointer(Pointer)
.public QSize(long size)
Pointer.position(long)
.public QSize()
public QSize(int w, int h)
public QSize getPointer(long i)
getPointer
in class Pointer
@Cast(value="bool") @NoException(value=true) public boolean isNull()
@Cast(value="bool") @NoException(value=true) public boolean isEmpty()
@Cast(value="bool") @NoException(value=true) public boolean isValid()
@NoException(value=true) public int width()
@NoException(value=true) public int height()
@NoException(value=true) public void setWidth(int w)
@NoException(value=true) public void setHeight(int h)
@NoException(value=true) public void transpose()
@ByVal @NoException(value=true) public QSize transposed()
@NoException(value=true) public void scale(int w, int h, @Cast(value="Qt::AspectRatioMode") int mode)
@NoException(value=true) public void scale(@Const @ByRef QSize s, @Cast(value="Qt::AspectRatioMode") int mode)
@ByVal @NoException(value=true) public QSize scaled(int w, int h, @Cast(value="Qt::AspectRatioMode") int mode)
@ByVal @NoException(value=true) public QSize scaled(@Const @ByRef QSize s, @Cast(value="Qt::AspectRatioMode") int mode)
@ByRef @NoException(value=true) public IntPointer rwidth()
@ByRef @NoException(value=true) public IntPointer rheight()
@ByRef @Name(value="operator +=") @NoException(value=true) public QSize addPut(@Const @ByRef QSize arg0)
@ByRef @Name(value="operator -=") @NoException(value=true) public QSize subtractPut(@Const @ByRef QSize arg0)
@ByRef @Name(value="operator *=") @NoException(value=true) public QSize multiplyPut(double c)
Copyright © 2022. All rights reserved.