Apple 的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.
我很困惑信息将指向什么数据。这是我可以以某种方式设置的东西吗?还是扫描仪自动设置?如果是这样,对什么?