CTRunDelegateGetAscentCallback
Defines a pointer to a function that determines typographic ascent of glyphs in the run.
Declaration
typealias CTRunDelegateGetAscentCallback = (UnsafeMutableRawPointer) -> CGFloatParameters
- refCon:
The reference-constant value supplied to the Ctrundelegatecreate(_:_:) function when the run delegate was created.
Return Value
The typographic ascent of glyphs in the run associated with the run delegate.
Discussion
You would declare the get-ascent function like this if you were to name it MyGetAscentCallback: