Coverage Report - org.dishevelled.iconbundle.impl.AbstractRasterOp
 
Classes in this File Line Coverage Branch Coverage Complexity
AbstractRasterOp
20%
1/5
N/A
1
 
 1  
 /*
 2  
 
 3  
     dsh-iconbundle  Bundles of variants for icon images.
 4  
     Copyright (c) 2003-2013 held jointly by the individual authors.
 5  
 
 6  
     This library is free software; you can redistribute it and/or modify it
 7  
     under the terms of the GNU Lesser General Public License as published
 8  
     by the Free Software Foundation; either version 3 of the License, or (at
 9  
     your option) any later version.
 10  
 
 11  
     This library is distributed in the hope that it will be useful, but WITHOUT
 12  
     ANY WARRANTY; with out even the implied warranty of MERCHANTABILITY or
 13  
     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
 14  
     License for more details.
 15  
 
 16  
     You should have received a copy of the GNU Lesser General Public License
 17  
     along with this library;  if not, write to the Free Software Foundation,
 18  
     Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA.
 19  
 
 20  
     > http://www.fsf.org/licensing/licenses/lgpl.html
 21  
     > http://www.opensource.org/licenses/lgpl-license.php
 22  
 
 23  
 */
 24  
 package org.dishevelled.iconbundle.impl;
 25  
 
 26  
 import java.awt.RenderingHints;
 27  
 
 28  
 import java.awt.image.Raster;
 29  
 import java.awt.image.RasterOp;
 30  
 import java.awt.image.WritableRaster;
 31  
 
 32  
 import java.awt.geom.Point2D;
 33  
 import java.awt.geom.Rectangle2D;
 34  
 
 35  
 /**
 36  
  * Abstract implementation of RasterOp.
 37  
  *
 38  
  * @author  Michael Heuer
 39  
  */
 40  1821
 abstract class AbstractRasterOp
 41  
     implements RasterOp
 42  
 {
 43  
 
 44  
     /** {@inheritDoc} */
 45  
     public final WritableRaster createCompatibleDestRaster(final Raster src)
 46  
     {
 47  0
         return null;
 48  
     }
 49  
 
 50  
     /** {@inheritDoc} */
 51  
     public final Rectangle2D getBounds2D(final Raster src)
 52  
     {
 53  0
         return null;
 54  
     }
 55  
 
 56  
     /** {@inheritDoc} */
 57  
     public final Point2D getPoint2D(final Point2D srcPoint, final Point2D destPoint)
 58  
     {
 59  0
         return srcPoint;
 60  
     }
 61  
 
 62  
     /** {@inheritDoc} */
 63  
     public final RenderingHints getRenderingHints()
 64  
     {
 65  0
         return null;
 66  
     }
 67  
 }