- moved to package in.ua.smartjava

This commit is contained in:
Roman Tsypuk
2017-12-16 00:56:14 +02:00
parent c1a4425969
commit e8e47bfb40
955 changed files with 6997 additions and 7072 deletions

View File

@@ -9,10 +9,10 @@
* Copyright (c) 2006 Romain Guy <romain.guy@mac.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* Redistribution and use in ua.in.smartjava.source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* 1. Redistributions of ua.in.smartjava.source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
@@ -151,7 +151,7 @@ public class GraphicsUtilities {
* transparency as the image specified as a parameter. That is, the
* returned BufferedImage will be compatible with the graphics hardware.
* If this method is called in a headless environment, then
* the returned BufferedImage will be compatible with the source
* the returned BufferedImage will be compatible with the ua.in.smartjava.source
* image.</p>
*
* @see java.awt.Transparency
@@ -175,7 +175,7 @@ public class GraphicsUtilities {
* That is, the returned <code>BufferedImage</code> is compatible with
* the graphics hardware. If the method is called in a headless
* environment, then the returned BufferedImage will be compatible with
* the source image.</p>
* the ua.in.smartjava.source image.</p>
*
* @see java.awt.Transparency
* @see #createCompatibleImage(java.awt.image.BufferedImage)
@@ -203,7 +203,7 @@ public class GraphicsUtilities {
* height. That is, the returned <code>BufferedImage</code> is compatible with
* the graphics hardware. If the method is called in a headless
* environment, then the returned BufferedImage will be compatible with
* the source image.</p>
* the ua.in.smartjava.source image.</p>
*
* @see #createCompatibleImage(java.awt.image.BufferedImage)
* @see #createCompatibleImage(java.awt.image.BufferedImage, int, int)
@@ -226,7 +226,7 @@ public class GraphicsUtilities {
* height. That is, the returned <code>BufferedImage</code> is compatible with
* the graphics hardware. If the method is called in a headless
* environment, then the returned BufferedImage will be compatible with
* the source image.</p>
* the ua.in.smartjava.source image.</p>
*
* @see #createCompatibleImage(java.awt.image.BufferedImage)
* @see #createCompatibleImage(java.awt.image.BufferedImage, int, int)
@@ -298,7 +298,7 @@ public class GraphicsUtilities {
* and therefore optimized for fast blitting operations.</p>
*
* <p>If the method is called in a headless environment, then the returned
* <code>BufferedImage</code> will be the source image.</p>
* <code>BufferedImage</code> will be the ua.in.smartjava.source image.</p>
*
* @see #createCompatibleImage(java.awt.image.BufferedImage)
* @see #createCompatibleImage(java.awt.image.BufferedImage, int, int)
@@ -335,12 +335,12 @@ public class GraphicsUtilities {
}
/**
* <p>Returns a thumbnail of a source image. <code>newSize</code> defines
* <p>Returns a thumbnail of a ua.in.smartjava.source image. <code>newSize</code> defines
* the length of the longest dimension of the thumbnail. The other
* dimension is then computed according to the dimensions ratio of the
* original picture.</p>
* <p>This method favors speed over quality. When the new size is less than
* half the longest dimension of the source image,
* half the longest dimension of the ua.in.smartjava.source image,
* {@link #createThumbnail(BufferedImage, int)} or
* {@link #createThumbnail(BufferedImage, int, int)} should be used instead
* to ensure the quality of the result without sacrificing too much
@@ -349,7 +349,7 @@ public class GraphicsUtilities {
* @see #createThumbnailFast(java.awt.image.BufferedImage, int, int)
* @see #createThumbnail(java.awt.image.BufferedImage, int)
* @see #createThumbnail(java.awt.image.BufferedImage, int, int)
* @param image the source image
* @param image the ua.in.smartjava.source image
* @param newSize the length of the largest dimension of the thumbnail
* @return a new compatible <code>BufferedImage</code> containing a
* thumbnail of <code>image</code>
@@ -403,9 +403,9 @@ public class GraphicsUtilities {
}
/**
* <p>Returns a thumbnail of a source image.</p>
* <p>Returns a thumbnail of a ua.in.smartjava.source image.</p>
* <p>This method favors speed over quality. When the new size is less than
* half the longest dimension of the source image,
* half the longest dimension of the ua.in.smartjava.source image,
* {@link #createThumbnail(BufferedImage, int)} or
* {@link #createThumbnail(BufferedImage, int, int)} should be used instead
* to ensure the quality of the result without sacrificing too much
@@ -414,7 +414,7 @@ public class GraphicsUtilities {
* @see #createThumbnailFast(java.awt.image.BufferedImage, int)
* @see #createThumbnail(java.awt.image.BufferedImage, int)
* @see #createThumbnail(java.awt.image.BufferedImage, int, int)
* @param image the source image
* @param image the ua.in.smartjava.source image
* @param newWidth the width of the thumbnail
* @param newHeight the height of the thumbnail
* @return a new compatible <code>BufferedImage</code> containing a
@@ -451,20 +451,20 @@ public class GraphicsUtilities {
}
/**
* <p>Returns a thumbnail of a source image. <code>newSize</code> defines
* <p>Returns a thumbnail of a ua.in.smartjava.source image. <code>newSize</code> defines
* the length of the longest dimension of the thumbnail. The other
* dimension is then computed according to the dimensions ratio of the
* original picture.</p>
* <p>This method offers a good trade-off between speed and quality.
* The result looks better than
* {@link #createThumbnailFast(java.awt.image.BufferedImage, int)} when
* the new size is less than half the longest dimension of the source
* the new size is less than half the longest dimension of the ua.in.smartjava.source
* image, yet the rendering speed is almost similar.</p>
*
* @see #createThumbnailFast(java.awt.image.BufferedImage, int, int)
* @see #createThumbnailFast(java.awt.image.BufferedImage, int)
* @see #createThumbnail(java.awt.image.BufferedImage, int, int)
* @param image the source image
* @param image the ua.in.smartjava.source image
* @param newSize the length of the largest dimension of the thumbnail
* @return a new compatible <code>BufferedImage</code> containing a
* thumbnail of <code>image</code>
@@ -567,17 +567,17 @@ public class GraphicsUtilities {
}
/**
* <p>Returns a thumbnail of a source image.</p>
* <p>Returns a thumbnail of a ua.in.smartjava.source image.</p>
* <p>This method offers a good trade-off between speed and quality.
* The result looks better than
* {@link #createThumbnailFast(java.awt.image.BufferedImage, int)} when
* the new size is less than half the longest dimension of the source
* the new size is less than half the longest dimension of the ua.in.smartjava.source
* image, yet the rendering speed is almost similar.</p>
*
* @see #createThumbnailFast(java.awt.image.BufferedImage, int)
* @see #createThumbnailFast(java.awt.image.BufferedImage, int, int)
* @see #createThumbnail(java.awt.image.BufferedImage, int)
* @param image the source image
* @param image the ua.in.smartjava.source image
* @param newWidth the width of the thumbnail
* @param newHeight the height of the thumbnail
* @return a new compatible <code>BufferedImage</code> containing a
@@ -678,7 +678,7 @@ public class GraphicsUtilities {
* an image of type different from <code>BufferedImage.TYPE_INT_ARGB</code>
* and <code>BufferedImage.TYPE_INT_RGB</code> will unmanage the image.</p>
*
* @param img the source image
* @param img the ua.in.smartjava.source image
* @param x the x location at which to start grabbing pixels
* @param y the y location at which to start grabbing pixels
* @param w the width of the rectangle of pixels to grab