forked from enlightenment/efl
parent
cabfad7522
commit
11fcd34b25
|
@ -1547,7 +1547,7 @@ __evas_gl_text_get_character_at_pos(Evas_GL_Font *fn, char *text, int x, int y,
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
__evas_gl_text_get_character_pos(Evas_GL_Font *fn, char *text, int num, int *cx, int *cy, int *cw, int *ch)
|
__evas_gl_text_get_character_number(Evas_GL_Font *fn, char *text, int num, int *cx, int *cy, int *cw, int *ch)
|
||||||
{
|
{
|
||||||
int i, px, ppx;
|
int i, px, ppx;
|
||||||
TT_Glyph_Metrics gmetrics;
|
TT_Glyph_Metrics gmetrics;
|
||||||
|
|
|
@ -169,7 +169,7 @@ evas_text_at_position(Evas e, Evas_Object o, double x, double y,
|
||||||
(int)(y - o->current.y),
|
(int)(y - o->current.y),
|
||||||
char_x, char_y,
|
char_x, char_y,
|
||||||
char_w, char_h);
|
char_w, char_h);
|
||||||
__evas_imlib_font_free(fn);
|
__evas_imlib_text_font_free(fn);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -189,7 +189,7 @@ evas_text_at_position(Evas e, Evas_Object o, double x, double y,
|
||||||
(int)(y - o->current.y),
|
(int)(y - o->current.y),
|
||||||
char_x, char_y,
|
char_x, char_y,
|
||||||
char_w, char_h);
|
char_w, char_h);
|
||||||
__evas_gl_font_free(fn);
|
__evas_gl_text_font_free(fn);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -222,7 +222,7 @@ evas_text_at(Evas e, Evas_Object o, int index,
|
||||||
index,
|
index,
|
||||||
char_x, char_y,
|
char_x, char_y,
|
||||||
char_w, char_h);
|
char_w, char_h);
|
||||||
__evas_imlib_font_free(fn);
|
__evas_imlib_text_font_free(fn);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -239,7 +239,7 @@ evas_text_at(Evas e, Evas_Object o, int index,
|
||||||
index,
|
index,
|
||||||
char_x, char_y,
|
char_x, char_y,
|
||||||
char_w, char_h);
|
char_w, char_h);
|
||||||
__evas_gl_font_free(fn);
|
__evas_gl_text_font_free(fn);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue