fix engines to match engine func changes with font stuff (R to L)

SVN revision: 40782
This commit is contained in:
Carsten Haitzler 2009-05-22 21:11:45 +00:00
parent 040492e46a
commit adab71dcfd
2 changed files with 2 additions and 22 deletions

View File

@ -121,8 +121,6 @@ static int eng_font_cache_get(void *data);
static void eng_font_hinting_set(void *data, void *font, int hinting);
static int eng_font_hinting_can_hint(void *data, int hinting);
static int eng_font_last_up_to_pos(void *data __UNUSED__, void *font, const char *text, int x, int y);
typedef struct _Render_Engine Render_Engine;
struct _Render_Engine
@ -246,9 +244,7 @@ static Evas_Func eng_func =
eng_font_hinting_can_hint,
eng_image_scale_hint_set,
eng_image_scale_hint_get,
/* more font draw functions */
eng_font_last_up_to_pos
eng_image_scale_hint_get
};
static void *
@ -1482,12 +1478,6 @@ eng_font_hinting_can_hint(void *data, int hinting)
re = (Render_Engine *)data;
}
static int
eng_font_last_up_to_pos(void *data __UNUSED__, void *font, const char *text, int x, int y)
{
return evas_common_font_query_last_up_to_pos(font, text, x, y);
}
EAPI int
module_open(Evas_Module *em)
{
@ -1509,4 +1499,3 @@ EAPI Evas_Module_Api evas_modapi =
"cairo_x11",
"none"
};

View File

@ -917,12 +917,6 @@ eng_font_char_at_coords_get(void *data __UNUSED__, void *font, const char *text,
return evas_common_font_query_text_at_pos(font, text, x, y, cx, cy, cw, ch);
}
static int
eng_font_last_up_to_pos(void *data __UNUSED__, void *font, const char *text, int x, int y)
{
return evas_common_font_query_last_up_to_pos(font, text, x, y);
}
static void
eng_font_draw(void *data __UNUSED__, void *context, void *surface, void *font, int x, int y, int w __UNUSED__, int h __UNUSED__, int ow __UNUSED__, int oh __UNUSED__, const char *text)
{
@ -1115,11 +1109,8 @@ static Evas_Func func =
eng_font_hinting_set,
eng_font_hinting_can_hint,
eng_image_scale_hint_set,
eng_image_scale_hint_get,
/* more font draw functions */
eng_font_last_up_to_pos
eng_image_scale_hint_get
/* FUTURE software generic calls go here */
};
/*