Baseline

44 views
Skip to first unread message

Cacaodev cacaodev

unread,
Apr 16, 2014, 7:31:57 AM4/16/14
to objec...@googlegroups.com
Is there a way to get the distance between the baseline of a string in a control containing text and the bottom of this control ?

In CPFont, i see there are already methods related to metrics (ascender, descender). In controls containing text there is a bezel-inset and a content-inset theme attribute. Is there a direct relation between descender and content-inset that could help me to implement -baselineOffsetFromBottom ?
Reply all
Reply to author
Forward
0 new messages