Haiku API Bindings
escapement_delta
Not logged in

Documentation | InterfaceKit | escapement_delta

DESCRIPTION

Exposes the escapement_delta struct.

PROPERTIES

nonspace

space

These floating point numbers allow you to add additional space to a character's escapements.

Note that you specify these values in pixels, but the values that come back from Font.GetEscapements have converted them to escapement units before adding them to the escapement values. This is so that when you multiply the escapement units by the font size to get the width in pixels, the delta is already included; i.e., you don't have to subtract the delta, multiply by the font size, then add the delta back in.