Really commit the files.
From-SVN: r71790
This commit is contained in:
committed by
Michael Koch
parent
2ccba5f0f4
commit
864135da89
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2000, 2002 Free Software Foundation
|
||||
/* Copyright (C) 2000, 2002, 2003 Free Software Foundation
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
||||
@@ -81,8 +81,15 @@ public class Raster
|
||||
this.minY = aRegion.y;
|
||||
this.width = aRegion.width;
|
||||
this.height = aRegion.height;
|
||||
this.sampleModelTranslateX = sampleModelTranslate.x;
|
||||
this.sampleModelTranslateY = sampleModelTranslate.y;
|
||||
|
||||
// If sampleModelTranslate is null, use (0,0). Methods such as
|
||||
// Raster.createRaster are specified to allow for a null argument.
|
||||
if (sampleModelTranslate != null)
|
||||
{
|
||||
this.sampleModelTranslateX = sampleModelTranslate.x;
|
||||
this.sampleModelTranslateY = sampleModelTranslate.y;
|
||||
}
|
||||
|
||||
this.numBands = sampleModel.getNumBands();
|
||||
this.numDataElements = sampleModel.getNumDataElements();
|
||||
this.parent = parent;
|
||||
|
||||
Reference in New Issue
Block a user