diff src/event.c @ 451:5c9e2a8a4bd8

Remove all "cairo" wording. - all cairo are replaced by mbe version - except pango relative ones.
author Thinker K.F. Li <thinker@branda.to>
date Wed, 05 Aug 2009 16:10:47 +0800
parents a417fd980228
children cd6f57b9b104
line wrap: on
line diff
--- a/src/event.c	Wed Aug 05 15:54:44 2009 +0800
+++ b/src/event.c	Wed Aug 05 16:10:47 2009 +0800
@@ -558,12 +558,12 @@
     }
 }
 
-/*! \brief Implement exactly point testing with Cairo.
+/*! \brief Implement exactly point testing with MB graphic engine.
  *
  * \note This function should not be called directly. Call
  *  _shape_pos_is_in() insteaded.
  */
-static int _shape_pos_is_in_cairo(shape_t *shape, co_aix x, co_aix y,
+static int _shape_pos_is_in_mbe(shape_t *shape, co_aix x, co_aix y,
 				  int *in_stroke, mbe_t *cr) {
     draw_shape_path(shape, cr);
     if(shape->fill) {
@@ -592,7 +592,7 @@
     if(!r)
 	return FALSE;
 
-    r = _shape_pos_is_in_cairo(shape, x, y, in_stroke, cr);
+    r = _shape_pos_is_in_mbe(shape, x, y, in_stroke, cr);
     mbe_new_path(cr);
     if(!r)
 	return FALSE;
@@ -735,7 +735,7 @@
  * coord is relative less than shapes.  Check areas of coord can
  * skip sub-trees and avoid useless heavy computation.  For shapes,
  * it not only check overlay of area.  It also check overlay by
- * actually drawing on a cairo surface.
+ * actually drawing on a mbe surface.
  */
 static
 int _is_obj_objs_overlay(mb_obj_t *obj, mb_obj_t *others_root,
@@ -825,7 +825,7 @@
 
 /*! \brief Test if two objects are overlaid.
  *
- * \todo Detect overlay in better way with cairo.
+ * \todo Detect overlay in better way with mbe.
  * \note This function cost heavy on CPU power.
  */
 int mb_objs_are_overlay(redraw_man_t *rdman,