苹果的CGPDFOperatorTable Reference表示,PDFOperatorCallback应该是这样的:
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.我很困惑这些信息会指向什么数据。这是我可以设置的东西吗?或者是扫描仪自动设置的?如果是这样,那是为了什么?
发布于 2011-08-29 00:33:11
它是您传递给CGPDFScannerCreate函数的info参数。
https://stackoverflow.com/questions/7219053
复制相似问题