Crossfire JXClient, Trunk
R20561
|
A utility to scale down an image by 8 in both dimensions. More...
Public Member Functions | |
ImageIcon | getScaledImage () |
Returns the scaled image. More... | |
ImageScale8d (@NotNull final Icon srcImageIcon) | |
Creates a new instance. More... | |
Private Attributes | |
final int | height |
The height of the image. More... | |
final int [] | srcData |
The source data from the image. More... | |
final int | width |
The width of the image. More... | |
A utility to scale down an image by 8 in both dimensions.
Definition at line 33 of file ImageScale8d.java.
com.realtime.crossfire.jxclient.faces.ImageScale8d.ImageScale8d | ( | @NotNull final Icon | srcImageIcon | ) |
Creates a new instance.
srcImageIcon | the image to scale |
Definition at line 55 of file ImageScale8d.java.
References com.realtime.crossfire.jxclient.faces.ImageScale8d.height.
ImageIcon com.realtime.crossfire.jxclient.faces.ImageScale8d.getScaledImage | ( | ) |
Returns the scaled image.
Note this is the method that actually does the work so it may take some time to return.
Definition at line 71 of file ImageScale8d.java.
References com.realtime.crossfire.jxclient.faces.RawScale8d.getScaledData().
Referenced by com.realtime.crossfire.jxclient.faces.FaceImagesUtils.newFaceImages().
|
private |
The height of the image.
Definition at line 49 of file ImageScale8d.java.
Referenced by com.realtime.crossfire.jxclient.faces.ImageScale8d.ImageScale8d().
|
private |
The source data from the image.
Definition at line 39 of file ImageScale8d.java.
|
private |
The width of the image.
Definition at line 44 of file ImageScale8d.java.