Contents

CTRunDelegate

A run delegate.

Declaration

class CTRunDelegate

Overview

A run delegate is assigned to a run (attribute range) to control typographic traits such glyph ascent, glyph descent, and glyph width.

The callbacks defined for CTRunDelegate objects are provided by the owner of a run delegate and are used to modify glyph metrics during layout. The values returned by the delegate are applied to each glyph in the run or runs corresponding to the attribute with that delegate.

Topics

Creating a Run Delegate

Getting Information About a Run Delegate

Callbacks

Data Types

Constants

See Also

Opaque Types