Examples of YToTileY()


Examples of com.lightcrafts.mediax.jai.PlanarImage.YToTileY()

                pt[1] = y1;
                mapPoint(pt, sMinX, sMinY, sMaxX, sMaxY, type, false);

                // Determine the source tile involved
                int tx = src.XToTileX(pt[0]);
                int ty = src.YToTileY(pt[1]);
                sources[0] = src.getTile(tx, ty);

                subRect.x = x1;
                subRect.y = y1;
                subRect.width = w;
View Full Code Here

Examples of javax.media.jai.PlanarImage.YToTileY()

                pt[1] = y1;
                mapPoint(pt, sMinX, sMinY, sMaxX, sMaxY, type, false);

                // Determine the source tile involved
                int tx = src.XToTileX(pt[0]);
                int ty = src.YToTileY(pt[1]);
                sources[0] = src.getTile(tx, ty);

                subRect.x = x1;
                subRect.y = y1;
                subRect.width = w;
View Full Code Here

Examples of javax.media.jai.PlanarImage.YToTileY()

/* 477 */         pt[0] = x1;
/* 478 */         pt[1] = y1;
/* 479 */         mapPoint(pt, sMinX, sMinY, sMaxX, sMaxY, this.type, false);
/*     */
/* 482 */         int tx = src.XToTileX(pt[0]);
/* 483 */         int ty = src.YToTileY(pt[1]);
/* 484 */         sources[0] = src.getTile(tx, ty);
/*     */
/* 486 */         subRect.x = x1;
/* 487 */         subRect.y = y1;
/* 488 */         subRect.width = w;
View Full Code Here

Examples of javax.media.jai.PlanarImage.YToTileY()

                if (metaTile instanceof PlanarImage) {
                    final PlanarImage pImage = (PlanarImage) metaTile;

                    if (metatilingIsRespected) {
                        final int tileX = pImage.XToTileX(x);
                        final int tileY = pImage.YToTileY(y);
                        tile_ = pImage.getTile(tileX, tileY);

                    } else {
                        Rectangle sourceArea = new Rectangle(x, y, tileSize, tileSize);
                        sourceArea = sourceArea.intersection(pImage.getBounds());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.