[cairo-commit] CairoJava/src/org/cairographics/cairo Cairo.java,1.3,1.4 CairoSurface.java,1.3,1.4

Soorya Kuloor commit at pdx.freedesktop.org
Mon Nov 17 09:46:52 PST 2003


Committed by: skuloor

Update of /cvs/cairo/CairoJava/src/org/cairographics/cairo
In directory pdx:/tmp/cvs-serv12742

Modified Files:
	Cairo.java CairoSurface.java 
Log Message:
Synched with latest cairo CVS version

Index: Cairo.java
===================================================================
RCS file: /cvs/cairo/CairoJava/src/org/cairographics/cairo/Cairo.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Cairo.java	7 Aug 2003 20:43:38 -0000	1.3
--- Cairo.java	17 Nov 2003 17:46:50 -0000	1.4
***************
*** 653,659 ****
       * @return The extents of the given string
       */
!     public double[] getTextExtents(String str) {
          return CairoAPI.getTextExtents(handle, str);
      }
  
      /**
--- 653,666 ----
       * @return The extents of the given string
       */
!     
!     /**
!      * XXX: NYI 14.11.2003
!      * 
!      * public double[] getTextExtents(String str) {
          return CairoAPI.getTextExtents(handle, str);
      }
+      * 
+      */
+     
  
      /**
***************
*** 673,681 ****
       * @param y The y co-ordinate of the location
       */
      public void showImage(Image img, double x, double y) {
  
          /*
           * Create a surface from the given image and then show the surface
!          */
          CairoSurface surface = new CairoSurface(img);
          translate(x, y);
--- 680,694 ----
       * @param y The y co-ordinate of the location
       */
+     
+     
+      
+      /*
+       *XXX: NYI 14.13.2003 - CairoSurface 
+       *
      public void showImage(Image img, double x, double y) {
  
          /*
           * Create a surface from the given image and then show the surface
!          *
          CairoSurface surface = new CairoSurface(img);
          translate(x, y);
***************
*** 688,691 ****
--- 701,705 ----
          surface.dispose();
      }
+ 	*/
  
      /**

Index: CairoSurface.java
===================================================================
RCS file: /cvs/cairo/CairoJava/src/org/cairographics/cairo/CairoSurface.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** CairoSurface.java	7 Aug 2003 20:43:38 -0000	1.3
--- CairoSurface.java	17 Nov 2003 17:46:50 -0000	1.4
***************
*** 74,80 ****
--- 74,84 ----
       * @param img The SWT image object
       */
+     /**
+      *XXX: NYI 14.11.2003 
+      *
      public CairoSurface(Image img) {
          handle = CairoAPI.surfaceCreateForPixmap(img.pixmap);    
      }
+     */
      
      /**
***************
*** 102,105 ****
--- 106,112 ----
       * @param alpha The alpha component of the background color
       */
+     /*
+      *XXX NYI 14.11.2003 surfaceCreateSimilarSolid 
+      *
      public CairoSurface(
          CairoSurface neighbor,
***************
*** 122,125 ****
--- 129,133 ----
                  alpha);
      }
+     */
  
      /**





More information about the cairo-commit mailing list