Hi everybody,

I'm hacking on a small project and I'm curious about some of the attributes
of the TextBlock object that I'm not understanding from the documents. Is
it possible to programmatically detect the geometry of the rendered text
within a TextBlock?

Say, I have a non-monospaced font, I've loaded some string content and want
to know how much of the allotted TextBlock that's filled. Or, I want to
know things like whether the text has overflowed and ellipsis are now being
applied, that kind of thing.

I thought that's what evas_object_textblock_size_formatted_get() and
evas_object_textblock_size_native_get() were about but I just get values of
zero for the Evas_Coords I pass in.

Cheers,
Dave.

_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to