|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lee.mugen.imageIO.RawScale2x
public class RawScale2x
A simple implementation of the Scale2x algorithm for scaling raw image data.
| Constructor Summary | |
|---|---|
RawScale2x(int[] imageData,
int dataWidth,
int dataHeight)
Create a new scaler based on some raw data. |
|
| Method Summary | |
|---|---|
int[] |
getData()
|
int[] |
getScaledData()
Get the scale image data. |
void |
refresh(int[] srcData)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RawScale2x(int[] imageData,
int dataWidth,
int dataHeight)
imageData - The source image datadataWidth - The width of the source imagedataHeight - The height of the source image| Method Detail |
|---|
public int[] getScaledData()
public int[] getData()
public void refresh(int[] srcData)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||