Instance Method
scale(toFullHeight:bounds:) scaleToFullHeight:bounds: scaleToFullHeight_bounds_
Scales the layer contents to the vertical span of the glyph metrics.
Declaration
func scale(toFullHeight layerMetrics: GSGlyphMetrics, bounds: NSRect)Declaration
- (void) scaleToFullHeight:(GSGlyphMetrics) layerMetrics bounds:(NSRect) bounds;Declaration
scaleToFullHeight_bounds_(layerMetrics: GSGlyphMetrics, bounds: NSRect)Parameters
layerMetricsThe target vertical metrics.
boundsThe source bounds to use when the layer has no enclosing rectangular path.
Discussion
A rectangular path enclosing the other content is treated as the source bounds and removed.
See Also
Importing Outlines
Whether a file name identifies a supported outline format.
Whether a file URL identifies a supported outline format.
Imports outlines and adds them to the layer.