From 554726563f67d3a8428b03e2af41f4a88baffc5e Mon Sep 17 00:00:00 2001 From: Thomas Hunger Date: Fri, 20 Feb 2004 14:23:17 +0000 Subject: [PATCH] added missing xml/cairo_set_target_image.xml --- doc/reference/xml/cairo_arc.xml | 4 +- doc/reference/xml/cairo_arc_negative.xml | 4 +- doc/reference/xml/cairo_current_font.xml | 4 +- .../xml/cairo_current_font_extents.xml | 2 +- doc/reference/xml/cairo_curve_to.xml | 2 +- doc/reference/xml/cairo_rectangle.xml | 4 +- doc/reference/xml/cairo_rel_curve_to.xml | 10 ++-- doc/reference/xml/cairo_set_font.xml | 4 +- doc/reference/xml/cairo_set_target_image.xml | 58 +++++++++++++++++++ .../xml/cairo_set_target_surface.xml | 2 +- doc/reference/xml/cairo_show_glyphs.xml | 2 +- doc/reference/xml/cairo_show_text.xml | 2 +- doc/reference/xml/cairo_transform_font.xml | 2 +- 13 files changed, 79 insertions(+), 21 deletions(-) create mode 100644 doc/reference/xml/cairo_set_target_image.xml diff --git a/doc/reference/xml/cairo_arc.xml b/doc/reference/xml/cairo_arc.xml index 4b485918d..b8a391f9d 100644 --- a/doc/reference/xml/cairo_arc.xml +++ b/doc/reference/xml/cairo_arc.xml @@ -9,12 +9,12 @@ - void cairo_arc (cairo_t *cr, double xc, double yc, double radius, double angle1, double angle2); + void cairo_arc (cairo_t *cr, double xc, double yc, double radius, double angle1, double angle2); cr : - a cairo_t + a cairo_t diff --git a/doc/reference/xml/cairo_arc_negative.xml b/doc/reference/xml/cairo_arc_negative.xml index c7c1ec6bd..ece1af7f5 100644 --- a/doc/reference/xml/cairo_arc_negative.xml +++ b/doc/reference/xml/cairo_arc_negative.xml @@ -9,12 +9,12 @@ - void cairo_arc_negative (cairo_t *cr, double xc, double yc, double radius, double angle1, double angle2); + void cairo_arc_negative (cairo_t *cr, double xc, double yc, double radius, double angle1, double angle2); cr : - a cairo_t + a cairo_t diff --git a/doc/reference/xml/cairo_current_font.xml b/doc/reference/xml/cairo_current_font.xml index b0c57e0d1..3503b6db7 100644 --- a/doc/reference/xml/cairo_current_font.xml +++ b/doc/reference/xml/cairo_current_font.xml @@ -16,7 +16,7 @@ cr : - a cairo_t + a cairo_t @@ -31,7 +31,7 @@ - returns pointer to the current cairo_font_t object in the cairo_t + returns pointer to the current cairo_font_t object in the cairo_t diff --git a/doc/reference/xml/cairo_current_font_extents.xml b/doc/reference/xml/cairo_current_font_extents.xml index 3c3f9ad95..822cd4049 100644 --- a/doc/reference/xml/cairo_current_font_extents.xml +++ b/doc/reference/xml/cairo_current_font_extents.xml @@ -14,7 +14,7 @@ void cairo_current_font_extents (cairo_t *cr, cai cr : - a cairo_t + a cairo_t diff --git a/doc/reference/xml/cairo_curve_to.xml b/doc/reference/xml/cairo_curve_to.xml index 814771f25..330ed3629 100644 --- a/doc/reference/xml/cairo_curve_to.xml +++ b/doc/reference/xml/cairo_curve_to.xml @@ -9,7 +9,7 @@ - void cairo_curve_to (cairo_t *cr, double x1, double y1, double x2, double y2, double x3, double y3); + void cairo_curve_to (cairo_t *cr, double x1, double y1, double x2, double y2, double x3, double y3); cr : diff --git a/doc/reference/xml/cairo_rectangle.xml b/doc/reference/xml/cairo_rectangle.xml index ae7b76cc0..bab307f32 100644 --- a/doc/reference/xml/cairo_rectangle.xml +++ b/doc/reference/xml/cairo_rectangle.xml @@ -9,12 +9,12 @@ - void cairo_rectangle (cairo_t *cr, double x, double y, double width, double height); + void cairo_rectangle (cairo_t *cr, double x, double y, double width, double height); cr : - a cairo_t + a cairo_t diff --git a/doc/reference/xml/cairo_rel_curve_to.xml b/doc/reference/xml/cairo_rel_curve_to.xml index 800e457b0..c16f85ff2 100644 --- a/doc/reference/xml/cairo_rel_curve_to.xml +++ b/doc/reference/xml/cairo_rel_curve_to.xml @@ -1,20 +1,20 @@ - cairo_curve_to + cairo_curve_to 3 - cairo_curve_to + cairo_curve_to some description - void cairo_curve_to (cairo_t *cr, double dx1, double dy1, double dx2, double dy2, double dx3, double dy3); + void cairo_curve_to (cairo_t *cr, double dx1, double dy1, double dx2, double dy2, double dx3, double dy3); cr : - a cairo_t + a cairo_t @@ -60,7 +60,7 @@ functions - cairo_curve_to + cairo_curve_to diff --git a/doc/reference/xml/cairo_set_font.xml b/doc/reference/xml/cairo_set_font.xml index 81946e087..31661494e 100644 --- a/doc/reference/xml/cairo_set_font.xml +++ b/doc/reference/xml/cairo_set_font.xml @@ -14,13 +14,13 @@ void cairo_set_font (cairo_t *cr, cairo_font_t *f cr : - a cairo_t + a cairo_t font : - replaces the current cairo_font_t object in the cairo_t with font. The replaced font in the cairo_t will be destroyed if there are no other references to it. + replaces the current cairo_font_t object in the cairo_t with font. The replaced font in the cairo_t will be destroyed if there are no other references to it. diff --git a/doc/reference/xml/cairo_set_target_image.xml b/doc/reference/xml/cairo_set_target_image.xml new file mode 100644 index 000000000..b96a5fbdc --- /dev/null +++ b/doc/reference/xml/cairo_set_target_image.xml @@ -0,0 +1,58 @@ + + + cairo_set_target_image + 3 + + + cairo_set_target_image + set image for painting operations + + + +void cairo_set_target_image (cairo_t *cr,char *data, cairo_format_t format, int width, int height, int stride) + + + cr : + + a cairo_t + + + + data : + + pointer to an user-allocated buffer of appropriate size + + + + format : + + select color-format of image + + + + width, height + + width and height describe the visibles image size. + + + + stride + + stride is the actual with of the image and can be larger than with. It is requiered even if stride is equal to with. + + + + + + Description + + + functions + cairo_set_target_image + + + + + + + diff --git a/doc/reference/xml/cairo_set_target_surface.xml b/doc/reference/xml/cairo_set_target_surface.xml index 1619b40c0..7cabbe5c3 100644 --- a/doc/reference/xml/cairo_set_target_surface.xml +++ b/doc/reference/xml/cairo_set_target_surface.xml @@ -35,7 +35,7 @@ void cairo_set_target_surface (cairo_t *cr, -Selects surfacee as the surface to draw on. If there already is a surface set, it will be substituted by surface. It references surfacee to ensure that it will be calid at least until another surface was selected or the cairo_t is destroyed. +Selects surfacee as the surface to draw on. If there already is a surface set, it will be substituted by surface. It references surfacee to ensure that it will be valid at least until another surface was selected or the cairo_t is destroyed. diff --git a/doc/reference/xml/cairo_show_glyphs.xml b/doc/reference/xml/cairo_show_glyphs.xml index 9b4a31126..aab0de1de 100644 --- a/doc/reference/xml/cairo_show_glyphs.xml +++ b/doc/reference/xml/cairo_show_glyphs.xml @@ -14,7 +14,7 @@ void cairo_show_glyphs (cairo_t *cr, cairo_glyph_ cr : - a cairo_t + a cairo_t diff --git a/doc/reference/xml/cairo_show_text.xml b/doc/reference/xml/cairo_show_text.xml index 484bc7e4a..db16c9704 100644 --- a/doc/reference/xml/cairo_show_text.xml +++ b/doc/reference/xml/cairo_show_text.xml @@ -15,7 +15,7 @@ void cairo_show_text (cairo_t *cr, const unsigned cr : - a cairo_t + a cairo_t diff --git a/doc/reference/xml/cairo_transform_font.xml b/doc/reference/xml/cairo_transform_font.xml index 2767cf577..d348d9b54 100644 --- a/doc/reference/xml/cairo_transform_font.xml +++ b/doc/reference/xml/cairo_transform_font.xml @@ -10,7 +10,7 @@ - void cairo_transform_font (cairo_t *cr, cairo_matrix_t *matrix); + void cairo_transform_font (cairo_t *cr, cairo_matrix_t *matrix); cr :