/[fenfire]/fenfire/org/fenfire/view/View2D.java
ViewVC logotype

Diff of /fenfire/org/fenfire/view/View2D.java

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

revision 1.2 by tjl, Thu Apr 24 18:01:56 2003 UTC revision 1.3 by benja, Thu Apr 24 18:07:28 2003 UTC
# Line 4  package org.fenfire.view; Line 4  package org.fenfire.view;
4  import org.nongnu.libvob.VobScene;  import org.nongnu.libvob.VobScene;
5    
6  /** A view defined as a region of a 2D plane.  /** A view defined as a region of a 2D plane.
7     *  Examples: A PP canvas; an image; a PDF article;
8     *  an HTML file rendered into a 2D plane.
9   */   */
10  public abstract class View2D {  public abstract class View2D {
11      /** Render this view.      /** Render this view.
12         *  The view is a rectangular area of the whole 2D plane.
13         *  (For PP canvases, which are infinitely large, we
14         *  could never render the whole plane.)
15         *  <p>
16         *  
17         *  
18       * There are several coordinate systems here, due to the situation; let's       * There are several coordinate systems here, due to the situation; let's
19       * clarify.       * clarify.
20       * Notate screen coordinates by x,       * Notate screen coordinates by x,
# Line 39  public abstract class View2D { Line 47  public abstract class View2D {
47                          );                          );
48    
49      /** Get the size of this plane.      /** Get the size of this plane.
50       * If the plane is infinite, wh[0] &lt; 1 shall obtain.       * If the plane is infinite, wh[0] &lt; 1 shall
51         * <a href="http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=obtain">obtain</a>.
52       * Default implementation: infinite.       * Default implementation: infinite.
53       */       */
54      public void getSize(Object plane, float[] wh) {      public void getSize(Object plane, float[] wh) {

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