[cairo-commit] cairo-ocaml/src cairo.ml,1.6,1.7 cairo.mli,1.6,1.7
Olivier Andrieu
commit at pdx.freedesktop.org
Wed Mar 24 02:57:30 PST 2004
- Previous message: [cairo-commit] cairo-ocaml ChangeLog,1.6,1.7
- Next message: [cairo-commit] libglc/src glc.c, 1.25, 1.26 glc.h, 1.18,
1.19 glc_agl_context.c, 1.5, 1.6 glc_agl_format.c, 1.7,
1.8 glc_agl_info.c, 1.9, 1.10 glc_agl_surface.c, 1.8,
1.9 glc_color_range.c, 1.1, 1.2 glc_format.c, 1.4,
1.5 glc_glx_context.c, 1.13, 1.14 glc_glx_format.c, 1.19,
1.20 glc_glx_info.c, 1.14, 1.15 glc_glx_surface.c, 1.20,
1.21 glc_glxext.h, 1.1, 1.2 glc_operator.c, 1.3,
1.4 glc_program.c, 1.9, 1.10 glc_programmatic.c, 1.5,
1.6 glc_rect.c, 1.9, 1.10 glc_surface.c, 1.24,
1.25 glc_texture.c, 1.13, 1.14 glc_trap.c, 1.15,
1.16 glc_tri.c, 1.13, 1.14 glc_util.c, 1.10, 1.11 glcint.h,
1.27, 1.28
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: oandrieu
Update of /cvs/cairo/cairo-ocaml/src
In directory pdx:/tmp/cvs-serv27923/src
Modified Files:
cairo.ml cairo.mli
Log Message:
add Cairo.line_to_point and Cairo.curve_to_point
Index: cairo.ml
===================================================================
RCS file: /cvs/cairo/cairo-ocaml/src/cairo.ml,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** a/cairo.ml 27 Feb 2004 22:49:12 -0000 1.6
--- b/cairo.ml 24 Mar 2004 10:57:27 -0000 1.7
***************
*** 102,108 ****
--- 102,110 ----
let move_to_point ~cr { x = x ; y = y } = move_to ~cr ~x ~y
external line_to : cr:t -> x:float -> y:float -> unit = "ml_cairo_line_to"
+ let line_to_point ~cr { x = x ; y = y } = line_to ~cr ~x ~y
external curve_to :
cr:t -> x1:float -> y1:float -> x2:float -> y2:float -> x3:float ->
y3:float -> unit = "ml_cairo_curve_to_bc" "ml_cairo_curve_to"
+ let curve_to_point ~cr {x=x1; y=y1} {x=x2; y=y2} {x=x3; y=y3} = curve_to ~cr ~x1 ~y1 ~x2 ~y2 ~x3 ~y3
external arc :
cr:t -> xc:float -> yc:float -> radius:float -> angle1:float ->
Index: cairo.mli
===================================================================
RCS file: /cvs/cairo/cairo-ocaml/src/cairo.mli,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** a/cairo.mli 27 Feb 2004 22:49:12 -0000 1.6
--- b/cairo.mli 24 Mar 2004 10:57:27 -0000 1.7
***************
*** 121,124 ****
--- 121,125 ----
val move_to_point : cr:t -> point -> unit
external line_to : cr:t -> x:float -> y:float -> unit = "ml_cairo_line_to"
+ val line_to_point : cr:t -> point -> unit
external curve_to :
cr:t ->
***************
*** 126,129 ****
--- 127,131 ----
y1:float -> x2:float -> y2:float -> x3:float -> y3:float -> unit
= "ml_cairo_curve_to_bc" "ml_cairo_curve_to"
+ val curve_to_point : cr:t -> point -> point -> point -> unit
external arc :
cr:t ->
- Previous message: [cairo-commit] cairo-ocaml ChangeLog,1.6,1.7
- Next message: [cairo-commit] libglc/src glc.c, 1.25, 1.26 glc.h, 1.18,
1.19 glc_agl_context.c, 1.5, 1.6 glc_agl_format.c, 1.7,
1.8 glc_agl_info.c, 1.9, 1.10 glc_agl_surface.c, 1.8,
1.9 glc_color_range.c, 1.1, 1.2 glc_format.c, 1.4,
1.5 glc_glx_context.c, 1.13, 1.14 glc_glx_format.c, 1.19,
1.20 glc_glx_info.c, 1.14, 1.15 glc_glx_surface.c, 1.20,
1.21 glc_glxext.h, 1.1, 1.2 glc_operator.c, 1.3,
1.4 glc_program.c, 1.9, 1.10 glc_programmatic.c, 1.5,
1.6 glc_rect.c, 1.9, 1.10 glc_surface.c, 1.24,
1.25 glc_texture.c, 1.13, 1.14 glc_trap.c, 1.15,
1.16 glc_tri.c, 1.13, 1.14 glc_util.c, 1.10, 1.11 glcint.h,
1.27, 1.28
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list