Instance Method
normalizedLocationsDefaultMaster(_:masters:) normalizedLocationsDefaultMaster:masters:error: normalizedLocationsDefaultMaster_masters_error_
Returns normalized design-space locations for masters.
Declaration
func normalizedLocationsDefaultMaster(_ defaultMaster: GSFontMaster, masters: [GSFontMaster]) throws -> [[OTAxisTag : NSNumber]]Declaration
- (NSArray<NSDictionary<NSString *,NSNumber *> *> *) normalizedLocationsDefaultMaster:(GSFontMaster *) defaultMaster masters:(NSArray<GSFontMaster *> *) masters error:(NSError **) error;Declaration
normalizedLocationsDefaultMaster_masters_error_(defaultMaster: GSFontMaster, masters: list[GSFontMaster]) -> tuple[list[NSDictionary<NSString *,NSNumber *>], NSError]Parameters
defaultMasterThe master that defines the zero location.
mastersThe masters whose locations are included.
Parameters
defaultMasterThe master that defines the zero location.
mastersThe masters whose locations are included.
errorOn output, a pointer to an error object that describes why the method failed, or
nilif no error occurred. If you are not interested in the error information, passnilfor this parameter.
Discussion
Locations are keyed by OpenType axis tag. The default master defines the zero location.