Instance Method
doSlantingCorrection(withAngle:checkSelection:correctContrast:correctShape:correctThickness:horizontalStem:verticalStem:center:) doSlantingCorrectionWithAngle:checkSelection:correctContrast:correctShape:correctThickness:horizontalStem:verticalStem:center: doSlantingCorrectionWithAngle_checkSelection_correctContrast_correctShape_correctThickness_horizontalStem_verticalStem_center_
Corrects outlines for a horizontal slant using explicit stem dimensions and a correction center.
Declaration
func doSlantingCorrection(withAngle angle: CGFloat, checkSelection: Bool, correctContrast: CGFloat, correctShape: CGFloat, correctThickness: CGFloat, horizontalStem: CGFloat, verticalStem: CGFloat, center: NSPoint)Declaration
- (void) doSlantingCorrectionWithAngle:(CGFloat) angle checkSelection:(BOOL) checkSelection correctContrast:(CGFloat) correctContrast correctShape:(CGFloat) correctShape correctThickness:(CGFloat) correctThickness horizontalStem:(CGFloat) horizontalStem verticalStem:(CGFloat) verticalStem center:(NSPoint) center;Declaration
doSlantingCorrectionWithAngle_checkSelection_correctContrast_correctShape_correctThickness_horizontalStem_verticalStem_center_(angle: float, checkSelection: bool, correctContrast: float, correctShape: float, correctThickness: float, horizontalStem: float, verticalStem: float, center: NSPoint)Parameters
angleThe slant angle in degrees.
checkSelectionWhether to restrict the operation to selected nodes.
correctContrastThe amount of stem contrast correction.
correctShapeThe amount of shape correction.
correctThicknessThe amount of vertical stem thickness correction.
horizontalStemThe horizontal stem dimension used for correction.
verticalStemThe vertical stem dimension used for correction.
centerThe center for shape correction in layer coordinates.
See Also
Slanting
Slants content horizontally around an origin.
Slants content horizontally with configurable outline corrections.
Slants content vertically around an origin.
Corrects stem contrast for a horizontal slant.
Corrects outlines for a horizontal slant using associated font master stems.