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.