Hi
In our case we need to draw a Line Roi that lies outside the image. For
example we want to draw the line from pixels -200,-200 to -400,-400.
This does not work; the line is allways painted only to zero or to the
maxvalue of each axis.
The problem seams to be the following code in the
protected void grow(int xend, int yend)
Method of the Line class:
------------------------------------------------------------------------
if (xend<0) xend=0; if (yend<0) yend=0;
if (xend>xMax) xend=xMax; if (yend>yMax) yend=yMax;
------------------------------------------------------------------------
Is there any reason for this implementation?
Thanks for your answers
Johannes Hermen
-----------------------------------------------------------------
ImageJ User and Developer Conference
Please visit:
http://imagejconf.tudor.lu-----------------------------------------------------------------
Johannes Hermen - Ingenieur de Recherche
[hidden email]
-----------------------------------------------------------------
CRP Henri Tudor
http://www.santec.tudor.lu29, Avenue John F. Kennedy
L-1855 Luxembourg
-----------------------------------------------------------------