[cairo-commit] src/cairo-beos-surface.cpp
Christian Biesinger
biesi at kemper.freedesktop.org
Sat Mar 18 09:08:53 PST 2006
src/cairo-beos-surface.cpp | 44 ++++++++++++++++++++++----------------------
1 files changed, 22 insertions(+), 22 deletions(-)
New commits:
diff-tree ef04471b1b90057c00ec51e1f3d7c7ed4ab1e34c (from 69acfa6576e8d2b97e3e3b8c06badf5486ae0315)
Author: Christian Biesinger <cbiesinger at web.de>
Date: Sat Mar 18 18:08:20 2006 +0100
More consistent naming for the BeOS surface functions
diff --git a/src/cairo-beos-surface.cpp b/src/cairo-beos-surface.cpp
index 5cd4277..6347ba7 100644
--- a/src/cairo-beos-surface.cpp
+++ b/src/cairo-beos-surface.cpp
@@ -570,18 +570,18 @@ _cairo_beos_surface_release_dest_image (
}
static cairo_int_status_t
-_cairo_beos_composite (cairo_operator_t op,
- cairo_pattern_t *src,
- cairo_pattern_t *mask,
- void *dst,
- int src_x,
- int src_y,
- int mask_x,
- int mask_y,
- int dst_x,
- int dst_y,
- unsigned int width,
- unsigned int height)
+_cairo_beos_surface_composite (cairo_operator_t op,
+ cairo_pattern_t *src,
+ cairo_pattern_t *mask,
+ void *dst,
+ int src_x,
+ int src_y,
+ int mask_x,
+ int mask_y,
+ int dst_x,
+ int dst_y,
+ unsigned int width,
+ unsigned int height)
{
cairo_beos_surface_t *surface = reinterpret_cast<cairo_beos_surface_t*>(
dst);
@@ -661,19 +661,19 @@ _cairo_beos_composite (cairo_operator_t
static void
-_cairo_beos_fill_rectangle (cairo_beos_surface_t *surface,
- cairo_rectangle_t *rect)
+_cairo_beos_surface_fill_rectangle (cairo_beos_surface_t *surface,
+ cairo_rectangle_t *rect)
{
BRect brect(_cairo_rect_to_brect(rect));
surface->view->FillRect(brect);
}
static cairo_int_status_t
-_cairo_beos_fill_rectangles (void *abstract_surface,
- cairo_operator_t op,
- const cairo_color_t *color,
- cairo_rectangle_t *rects,
- int num_rects)
+_cairo_beos_surface_fill_rectangles (void *abstract_surface,
+ cairo_operator_t op,
+ const cairo_color_t *color,
+ cairo_rectangle_t *rects,
+ int num_rects)
{
fprintf(stderr, "Drawing %i rectangles\n", num_rects);
cairo_beos_surface_t *surface = reinterpret_cast<cairo_beos_surface_t*>(
@@ -716,7 +716,7 @@ _cairo_beos_fill_rectangles (void
surface->view->SetBlendingMode(B_CONSTANT_ALPHA, B_ALPHA_OVERLAY);
for (int i = 0; i < num_rects; ++i) {
- _cairo_beos_fill_rectangle(surface, &rects[i]);
+ _cairo_beos_surface_fill_rectangle(surface, &rects[i]);
}
surface->view->PopState();
@@ -785,8 +785,8 @@ static const struct _cairo_surface_backe
_cairo_beos_surface_acquire_dest_image,
_cairo_beos_surface_release_dest_image,
NULL, /* clone_similar */
- _cairo_beos_composite, /* composite */
- _cairo_beos_fill_rectangles,
+ _cairo_beos_surface_composite, /* composite */
+ _cairo_beos_surface_fill_rectangles,
NULL, /* composite_trapezoids */
NULL, /* copy_page */
NULL, /* show_page */
More information about the cairo-commit
mailing list