Function

CGPDFScannerPopNumber(_:_:)

Retrieves a real value object from the scanner stack.

Declaration

func CGPDFScannerPopNumber(_ scanner: CGPDFScannerRef, _ value: UnsafeMutablePointer<CGPDFReal>?) -> Bool

Parameters

scanner

A valid scanner object.

value

On output, points to the real value object popped from the scanner stack.

Return Value

true if the real value is retrieved successfully; otherwise, false.

Discussion

The number retrieved from the scanner can be a real value or an integer value. However, the result is always converted to a value of type CGPDFReal.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software