/[alph]/alph/org/nongnu/alph/PageSpan.java
ViewVC logotype

Diff of /alph/org/nongnu/alph/PageSpan.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by tjl, Tue Mar 25 12:25:29 2003 UTC revision 1.3 by tjl, Mon Apr 21 18:50:35 2003 UTC
# Line 31  package org.nongnu.alph; Line 31  package org.nongnu.alph;
31  import java.awt.*;  import java.awt.*;
32    
33  /** A page span - contiguous piece of a permascroll consisting of  /** A page span - contiguous piece of a permascroll consisting of
34   * pages of the same size - e.g.postscript or pdf file.   * pages - e.g.postscript or pdf file.
35   * These spans are rectangular regions of one or more pages.   * These spans are regions of one or more pages.
36   * <p>   * It used to be possible to also specify an area here - not any
37   * ImageSpan.getImage should return the image of a page when a single   * more: now, you can either have a pagespan of pages, or an imagespan
38   * page is in the span, calling getImage for a PageSpan of more than one   * of an area on one page.
  * page is currently undefined (!!), waiting for a decision between showing  
  * the first page, the first page in a graphical representation showing  
  * a stack of pages, some type of splicing of the pages or whatever.  
  * It is also possible that it will be decided that an IllegalArgumentException  
  * should be thrown in this case.  
39   */   */
40    
41  public interface PageSpan extends ImageSpan, Span1D {  public interface PageSpan extends Span1D {
42      /** Get a subspan of the current span.      /** Get the imagespan pointing to the given page
43       * The coordinates are <b>relative to this span</b>.       * of this span.
44       */       */
45      PageSpan subArea(int page0, int page1, int x, int y, int w, int h);      ImageSpan getPage(int ind);
     PageSpan subArea(int page0, int page1);  
46  }  }
47    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26