Function
GSFloatToFraction(_:_:_:_:) GSFloatToFractionGSFloatToFraction
Declaration
func GSFloatToFraction(_ value: CGFloat, _ accuracy: CGFloat, _ numr: UnsafeMutablePointer<Int32>, _ dnom: UnsafeMutablePointer<Int32>) -> BoolDeclaration
BOOL GSFloatToFraction(CGFloat value, CGFloat accuracy, int *numr, int *dnom);Declaration
GSFloatToFraction(value: float, accuracy: float, numr: int, dnom: int) -> boolSee Also
Numeric Conversion and Rotation
convert and angle (CCV from 12 o’clock) to run/rise as stored in the hhea table
The angle of run/rise. This can be used to write the italic angle so the angle is positive CCV from 12 o’clock