Home Segments Index Top Previous Next

903: Mainline

Drawing is done with displayRectangularBorder:at:, with displayLineFrom:to:, with displayPolygon:, and with displayString:at:.

Because there is no exact analog of centerText:at:, you must center displayed strings manually, by first converting the string to composed text, using asComposedText. The composed text then serves as the receiver of a width message.