Function

CGContextSetTextDrawingMode

Sets the current text drawing mode.

Declaration

void CGContextSetTextDrawingMode(CGContextRef c, CGTextDrawingMode mode);

Parameters

c

A graphics context.

mode

A text drawing mode (such as kCGTextFill or kCGTextStroke) that specifies how Core Graphics renders individual glyphs in a graphics context. See CGTextDrawingMode for a complete list.

See Also

Drawing Text

CGContextGetTextMatrix

Returns the current text matrix.

CGContextGetTextPosition

Returns the location at which text is drawn.

CGContextSelectFont

Sets the font and font size in a graphics context.

Deprecated
CGContextSetCharacterSpacing

Sets the current character spacing.

CGContextSetFont

Sets the platform font in a graphics context.

CGContextSetFontSize

Sets the current font size.

CGContextSetTextMatrix

Sets the current text matrix.

CGContextSetTextPosition

Sets the location at which text is drawn.

CGContextShowText

Displays a character array at the current text position, a point specified by the current text matrix.

Deprecated
CGContextShowTextAtPoint

Displays a character string at a position you specify.

Deprecated