Parent Directory | Revision Log | Patch
revision 1.2 by tjl, Wed Jun 11 17:50:18 2003 UTC | revision 1.3 by mudyc, Sat Jul 19 11:13:01 2003 UTC | |
---|---|---|
# | Line 58 abstract public class AbstractImageSpan | Line 58 abstract public class AbstractImageSpan |
58 | if(x0 < 0 || y0 < 0) | if(x0 < 0 || y0 < 0) |
59 | throw new Error("Negative coordinates"); | throw new Error("Negative coordinates"); |
60 | if(x0 + w0 > w || y0 + h0 > h) | if(x0 + w0 > w || y0 + h0 > h) |
61 | throw new Error("Too large imagearea"); | throw new Error("Too large imagearea("+x0+","+w0+","+w+" : "+ |
62 | y0+","+h0+","+h+")"); | |
63 | return createNew(x+x0, y+y0, w0, h0); | return createNew(x+x0, y+y0, w0, h0); |
64 | } | } |
65 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |