2011-08-28 37 views
0

蘋果CGPDFOperatorTable Reference說,一個PDFOperatorCallback應該是這樣的:CGPDFScannerCallback - info參數指向什麼?

void MyCGPDFOperatorCallback (
    CGPDFScannerRef scanner, 
    void *info 
); 

參數

掃描器

A CGPDFScanner object. Quartz passes the scanner to your callback function. The scanner contains the PDF content stream that has the PDF operator that corresponds to this callback. 

信息

A pointer to data passed to the callback. 

我很困惑什麼數據信息將指向。這是我可以設置的東西嗎?或者掃描儀是否自動設置?如果是這樣,到什麼?

回答

1

這是您傳遞給CGPDFScannerCreate函數的info參數。