/[classpath]/classpath/java/awt/image/DirectColorModel.java
ViewVC logotype

Diff of /classpath/java/awt/image/DirectColorModel.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by rabbit78, Wed Aug 17 14:27:51 2005 UTC revision 1.16 by rabbit78, Fri Aug 19 08:44:21 2005 UTC
# Line 348  public class DirectColorModel extends Pa Line 348  public class DirectColorModel extends Pa
348    {    {
349      return getComponents(getPixelFromArray(pixel), components, offset);      return getComponents(getPixelFromArray(pixel), components, offset);
350    }    }
351      
352      /**
353       * Creates a <code>WriteableRaster</code> that has a <code>SampleModel</code>
354       * that is compatible with this <code>ColorModel</code>.
355       *
356       * @param w the width of the writeable raster to create
357       * @param h the height of the writeable raster to create
358       *
359       * @throws IllegalArgumentException if <code>w</code> or <code>h</code>
360       *         is less than or equal to zero
361       */
362    public final WritableRaster createCompatibleWritableRaster(int w, int h)    public final WritableRaster createCompatibleWritableRaster(int w, int h)
363    {    {
364      // Sun also makes this check here.      // Sun also makes this check here.

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26