}
else
{
+ obj->cur.geometry.w = 0;
+ obj->cur.geometry.h = o->max_ascent + o->max_descent;
+ obj->cur.cache.geometry.validity = 0;
if (o->engine_data)
{
o->ascent = obj->layer->evas->engine.func->font_ascent_get(obj->layer->evas->engine.data.output,
o->max_ascent = 0;
o->max_descent = 0;
}
- obj->cur.geometry.w = 0;
- obj->cur.geometry.h = o->max_ascent + o->max_descent;
- obj->cur.cache.geometry.validity = 0;
}
o->changed = 1;
evas_object_change(obj);
return 0;
MAGIC_CHECK_END();
if (!o->engine_data) return 0;
+ if (!o->cur.text) return 0;
return obj->layer->evas->engine.func->font_inset_get(obj->layer->evas->engine.data.output,
o->engine_data,
o->cur.text);
return 0;
MAGIC_CHECK_END();
if (!o->engine_data) return 0;
+ if (!o->cur.text) return 0;
return obj->layer->evas->engine.func->font_h_advance_get(obj->layer->evas->engine.data.output,
o->engine_data,
o->cur.text);
return 0;
MAGIC_CHECK_END();
if (!o->engine_data) return 0;
+ if (!o->cur.text) return o->ascent + o->descent;
return obj->layer->evas->engine.func->font_v_advance_get(obj->layer->evas->engine.data.output,
o->engine_data,
o->cur.text);
return 0;
MAGIC_CHECK_END();
if (!o->engine_data) return 0;
+ if (!o->cur.text) return 0;
inset =
obj->layer->evas->engine.func->font_inset_get(obj->layer->evas->engine.data.output,
o->engine_data,
return -1;
MAGIC_CHECK_END();
if (!o->engine_data) return -1;
+ if (!o->cur.text) return -1;
inset =
obj->layer->evas->engine.func->font_inset_get(obj->layer->evas->engine.data.output,
o->engine_data,