Searched defs:srcHeight (Results 1 - 11 of 11) sorted by relevance

/openjdk7/jdk/src/share/classes/java/awt/image/
H A DReplicateScaleFilter.java61 protected int srcHeight; field in class:ReplicateScaleFilter
149 srcHeight = h;
153 destHeight = srcHeight;
155 destWidth = srcWidth * destHeight / srcHeight;
158 destHeight = srcHeight * destWidth / srcWidth;
166 srcrows[y] = (2 * y * srcHeight + srcHeight) / (2 * destHeight);
194 int dy1 = (2 * y * destHeight + srcHeight - 1) / (2 * srcHeight);
235 int dy1 = (2 * y * destHeight + srcHeight
[all...]
/openjdk7/jdk/src/share/classes/sun/print/
H A DPSPathGraphics.java255 * <code>srcX, srcY, srcWidth, and srcHeight</code>
274 * @param srcHeight The height of the portion of the image to
282 int srcWidth, int srcHeight,
393 srcHeight);
432 srcWidth, srcHeight)) {
453 srcY+srcHeight > img.getHeight(null))
470 new Rectangle2D.Float(srcX, srcY, srcWidth, srcHeight);
564 srcX + srcWidth, srcY + srcHeight,
566 srcX + srcWidth, srcY + srcHeight,
279 drawImageToPlatform(Image image, AffineTransform xform, Color bgcolor, int srcX, int srcY, int srcWidth, int srcHeight, boolean handlingTransparency) argument
H A DPathGraphics.java1228 int srcWidth, int srcHeight) {
1275 /* don't just use srcWidth & srcHeight from application - they
1292 if (srcY+srcHeight > rh) {
1296 bottom = srcY+srcHeight;
1297 hgt = srcHeight;
1337 * <code>srcX, srcY, srcWidth, and srcHeight</code>
1356 * @param srcHeight The height of the portion of the image to
1365 int srcWidth, int srcHeight,
1487 int srcHeight = img.getHeight(null);
1489 if (srcWidth < 0 || srcHeight <
1224 drawBitmaskImage(BufferedImage bufferedImage, AffineTransform xform, Color bgcolor, int srcX, int srcY, int srcWidth, int srcHeight) argument
1362 drawImageToPlatform(Image img, AffineTransform xform, Color bgcolor, int srcX, int srcY, int srcWidth, int srcHeight, boolean handlingTransparency) argument
[all...]
H A DPSPrinterJob.java862 * <code>srcWidth</code>, and srcHeight.
868 float srcWidth, float srcHeight,
878 int intSrcHeight = (int) srcHeight;
864 drawImageBGR(byte[] bgrData, float destX, float destY, float destWidth, float destHeight, float srcX, float srcY, float srcWidth, float srcHeight, int srcBitMapWidth, int srcBitMapHeight) argument
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWPathGraphics.java868 * <code>srcX, srcY, srcWidth, and srcHeight</code>
886 * @param srcHeight The height of the portion of the image to
894 int srcWidth, int srcHeight,
1006 srcHeight);
1047 srcWidth, srcHeight)) {
1068 srcY+srcHeight > img.getHeight(null))
1085 new Rectangle2D.Float(srcX, srcY, srcWidth, srcHeight);
1243 srcY + srcHeight,
1246 srcY + srcHeight,
891 drawImageToPlatform(Image image, AffineTransform xform, Color bgcolor, int srcX, int srcY, int srcWidth, int srcHeight, boolean handlingTransparency) argument
H A DWPrinterJob.java1177 * <code>srcWidth</code>, and srcHeight.
1183 float srcWidth, float srcHeight) {
1190 srcWidth, srcHeight,
1214 float srcWidth, float srcHeight,
1234 srcWidth, srcHeight,
1509 * <code>srcWidth</code>, and srcHeight.
1518 float srcWidth, float srcHeight,
1179 drawImage3ByteBGR(byte[] image, float destX, float destY, float destWidth, float destHeight, float srcX, float srcY, float srcWidth, float srcHeight) argument
1210 drawDIBImage(byte[] image, float destX, float destY, float destWidth, float destHeight, float srcX, float srcY, float srcWidth, float srcHeight, int sampleBitsPerPixel, IndexColorModel icm) argument
1514 drawDIBImage(long printDC, byte[] image, float destX, float destY, float destWidth, float destHeight, float srcX, float srcY, float srcWidth, float srcHeight, int bitCount, byte[] bmiColors) argument
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageScanPoly.c54 mlib_s32 srcWidth, dstWidth, srcHeight, dstHeight, srcYStride, dstYStride; local
79 srcHeight = mlib_ImageGetHeight(src);
86 if (srcWidth >= (1 << 15) || srcHeight >= (1 << 15)) {
99 bsize1 = ((srcHeight + 4 * kh) * sizeof(mlib_u8 *) + 7) & ~7;
122 for (i = 0; i < srcHeight - 1; i++) {
127 for (i = srcHeight - 1; i < srcHeight + 2 * kh; i++)
135 maxY = srcHeight;
145 maxY = srcHeight - ((kh - 1) - (kh1 - delta));
157 if (maxY > (srcHeight
[all...]
/openjdk7/jdk/src/share/classes/javax/imageio/
H A DImageReader.java2554 * @param srcHeight the height of the source image.
2560 int srcHeight) {
2561 Rectangle sourceRegion = new Rectangle(0, 0, srcWidth, srcHeight);
2609 * @param srcHeight the height of the source image.
2625 int srcHeight,
2637 srcRegion.setBounds(0, 0, srcWidth, srcHeight);
2641 destRegion.setBounds(0, 0, srcWidth, srcHeight);
2558 getSourceRegion(ImageReadParam param, int srcWidth, int srcHeight) argument
2623 computeRegions(ImageReadParam param, int srcWidth, int srcHeight, BufferedImage image, Rectangle srcRegion, Rectangle destRegion) argument
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DBlitLoops.cpp132 jint srcWidth, jint srcHeight,
137 RECT r = { srcx, srcy, srcx+srcWidth, srcy+srcHeight };
154 srcInfo.bounds.y2 = srcHeight;
166 srcWidth, srcHeight,
172 srcWidth, srcHeight,
178 srcWidth, srcHeight,
184 srcWidth, srcHeight,
190 srcWidth, srcHeight,
207 jint srcWidth, jint srcHeight,
212 RECT r = { dstx, dsty, dstx+srcWidth, dsty+srcHeight };
129 D3DBL_CopySurfaceToIntArgbImage(IDirect3DSurface9 *pSurface, SurfaceDataRasInfo *pDstInfo, jint srcx, jint srcy, jint srcWidth, jint srcHeight, jint dstx, jint dsty) argument
203 D3DBL_CopyImageToIntXrgbSurface(SurfaceDataRasInfo *pSrcInfo, int srctype, D3DResource *pDstSurfaceRes, jint srcx, jint srcy, jint srcWidth, jint srcHeight, jint dstx, jint dsty) argument
402 D3DDrawTextureWithHint(D3DContext *d3dc, D3DTEXTUREFILTERTYPE hint, jint srcWidth, jint srcHeight, float tw, float th, jint sx1, jint sy1, jint sx2, jint sy2, float dx1, float dy1, float dx2, float dy2, float tx1, float ty1, float tx2, float ty2) argument
[all...]
H A DD3DContext.cpp1151 jint srcWidth, jint srcHeight,
1165 RECT r = { dstx, dsty, dstx+srcWidth, dsty+srcHeight };
1201 } while (--srcHeight > 0);
1207 for (int yy = 0; yy < srcHeight; yy++) {
1224 for (int yy = 0; yy < srcHeight; yy++) {
1248 for (int yy = 0; yy < srcHeight; yy++) {
1283 } while (--srcHeight > 0);
1289 for (int yy = 0; yy < srcHeight; yy++) {
1313 } while (--srcHeight > 0);
1148 UploadTileToTexture(D3DResource *pTextureRes, void *pixels, jint dstx, jint dsty, jint srcx, jint srcy, jint srcWidth, jint srcHeight, jint srcStride, TileFormat srcFormat, jint *pPixelsTouchedL, jint* pPixelsTouchedR) argument
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_PrintJob.cpp1466 jint offset, jint srcX, jint srcY, jint srcWidth, jint srcHeight,
1470 srcWidth <= 0 || srcHeight == 0 || destWidth == 0 || destHeight <=0) {
1504 bitMapHeader.bmiHeader.biHeight = srcHeight;
1518 srcHeight, // number of source scan lines
1525 fprintf(file,"sh=%d dh=%d sy=%d dy=%d result=%d\n", srcHeight, destHeight, srcY, destY, result);
2489 static jbyte* reverseDIB(jbyte* imageBits, long srcWidth, long srcHeight,
2517 imgWidthByteSz+padBytes, ROUND_TO_LONG(srcHeight));
2518 long newImgSize = (imgWidthByteSz+padBytes) * ROUND_TO_LONG(srcHeight);
2524 for (long i=ROUND_TO_LONG(srcHeight)-1; i>=0; i--) {
2548 jfloat srcWidth, jfloat srcHeight,
1464 Java_sun_awt_windows_WEmbeddedFrame_printBand(JNIEnv *env, jobject self, jlong theHDC, jbyteArray imageArray, jint offset, jint srcX, jint srcY, jint srcWidth, jint srcHeight, jint destX, jint destY, jint destWidth, jint destHeight) argument
[all...]

Completed in 74 milliseconds