[cairo-commit] cairo-ocaml/test knockout.ml,1.1.1.1,1.2

Olivier Andrieu commit at pdx.freedesktop.org
Thu Apr 15 16:59:39 PDT 2004


Committed by: oandrieu

Update of /cvs/cairo/cairo-ocaml/test
In directory pdx:/tmp/cvs-serv16155/test

Modified Files:
	knockout.ml 
Log Message:
support patterns (requires cairo 0.1.21)


Index: knockout.ml
===================================================================
RCS file: /cvs/cairo/cairo-ocaml/test/knockout.ml,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** a/knockout.ml	18 Nov 2003 19:02:26 -0000	1.1.1.1
--- b/knockout.ml	15 Apr 2004 23:59:37 -0000	1.2
***************
*** 59,63 ****
      Cairo.restore c ;
  
!     Cairo.set_pattern c check ;
      rect_path c 0. 0. (float width) (float height) ;
      Cairo.fill c end ;
--- 59,63 ----
      Cairo.restore c ;
  
!     Cairo.set_pattern c (Cairo.pattern_create_for_surface check) ;
      rect_path c 0. 0. (float width) (float height) ;
      Cairo.fill c end ;





More information about the cairo-commit mailing list