Examples of screenYD()


Examples of fr.soleil.comete.swing.image.ijviewer.IJCanvas.screenYD()

                    Point2D.Double point = viewer.getAxisPosition();
                    IJCanvas canvas = viewer.getImageCanvas();
                    if ((point != null) && (canvas != null)) {
                        // XXX strange IJ hack that should be done in ImageViewer
                        int x = (canvas.screenXD(point.x));
                        int y = (canvas.screenYD(point.y));
                        f.addRoi("MyRoi" + ++index + ",point,1," + x + "," + y + "," + 5 + "," + 5 + ",GREEN");
                    }
                }
            }
View Full Code Here

Examples of fr.soleil.comete.swing.image.ijviewer.IJCanvas.screenYD()

                    Point2D.Double point = viewer.getAxisPosition();
                    IJCanvas canvas = viewer.getImageCanvas();
                    if ((point != null) && (canvas != null)) {
                        // XXX strange IJ hack that should be done in ImageViewer
                        int x = (canvas.screenXD(point.x));
                        int y = (canvas.screenYD(point.y));
                        f.addRoi("MyRoi" + ++index + ",point,1," + x + "," + y + "," + 5 + "," + 5 + ",GREEN");
                    }
                }
            }
View Full Code Here

Examples of fr.soleil.comete.swing.image.ijviewer.IJCanvas.screenYD()

                    Point2D.Double point = viewer.getAxisPosition();
                    IJCanvas canvas = viewer.getImageCanvas();
                    if ((point != null) && (canvas != null)) {
                        // XXX strange IJ hack that should be done in ImageViewer
                        int x = (canvas.screenXD(point.x));
                        int y = (canvas.screenYD(point.y));
                        f.addRoi("MyRoi" + ++index + ",point,1," + x + "," + y + "," + 5 + "," + 5 + ",GREEN");
                    }
                }
            }
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.