Contents

CTRunDelegateGetDescentCallback

Defines a pointer to a function that determines typographic descent of glyphs in the run.

Declaration

typealias CTRunDelegateGetDescentCallback = (UnsafeMutableRawPointer) -> CGFloat

Parameters

Return Value

The typographic descent of glyphs in the run associated with the run delegate.

Discussion

You would declare the get-descent function like this if you were to name it MyGetDescentCallback:

See Also

Callbacks