THotPDF.InterpretContentWithForms Method

THotPDF 的私有辅助方法:解释内容流,并在每个 Do 运算符的位置拼接进其所绘制 Form XObject 的字形

声明

function InterpretContentWithForms(const Bytes: TBytes; const Resolver: IHPDFFontResolver; Resources: THPDFDictionaryObject; const CTM: array of Double; Depth: Integer; Chain: TList; out Glyphs: THPDFGlyphArray): boolean;

单元

HPDFDoc

参数

名称用途
Bytes已解码的内容流
Resolver为流所引用字体资源提供的字体解码器
Resources列出流的字体和 XObject 的资源字典
CTM从流空间到用户空间的变换
Depth流的嵌套深度;超过 12 层的表单不再进入
Chain围绕当前流一并解释中的 Form XObject 流;已在链中的表单会被跳过
Glyphs接收按绘制顺序排列的字形

返回值

成功解释流时为 True

使用说明

相关 API