CTFontCollectionSortDescriptorsCallback
The collection sorting callback type.
Declaration
typealias CTFontCollectionSortDescriptorsCallback = (CTFontDescriptor, CTFontDescriptor, UnsafeMutableRawPointer) -> CFComparisonResultParameters
- first:
The first descriptor.
- second:
The second descriptor.
- refCon:
A pointer to contextual data from the client.
Return Value
The matching font descriptors of a collection in sorted order.