jcuda.jnpp.utilnpp
Interface Image.Size

All Known Implementing Classes:
DefaultSize
Enclosing interface:
Image

public static interface Image.Size

Interface that corresponds to the npp::Image::Size struct


Method Summary
 boolean equals(java.lang.Object object)
           
 int hashCode()
           
 int nHeight()
          Returns the height
 int nWidth()
          Returns the width
 void set(Image.Size rSize)
          Assignment operator: Set this size to be the same as the given size
 void setHeight(int height)
          Set the height
 void setWidth(int width)
          Set the width
 void swap(Image.Size rSize)
          Swap this size and the given size
 

Method Detail

nWidth

int nWidth()
Returns the width

Returns:
The width

nHeight

int nHeight()
Returns the height

Returns:
The height

setWidth

void setWidth(int width)
Set the width

Parameters:
width - The width

setHeight

void setHeight(int height)
Set the height

Parameters:
height - The height

set

void set(Image.Size rSize)
Assignment operator: Set this size to be the same as the given size

Parameters:
rSize - The other size

swap

void swap(Image.Size rSize)
Swap this size and the given size

Parameters:
rSize - The other size

equals

boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(Object)

hashCode

int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()