Instance Method
drawForeground(for:options:) drawForegroundForLayer:options: drawForegroundForLayer_options_
Draws the foreground for the Layer.
Declaration
optional func drawForeground(for layer: GSLayer, options: [AnyHashable : Any]? = nil)Declaration
- (void) drawForegroundForLayer:(GSLayer *) layer options:(NSDictionary *) options;Declaration
drawForegroundForLayer_options_(layer: GSLayer, options: dict)Parameters
layerThe Layer.
optionsOptions
Discussion
This should be only additional items, as the actual glyph is drawn somewhere else. The drawing happened in font units scale (the view does the transformation). If you need to draw something in a definite size (text) you have to counter scale it.