THotPDF.InterpretContentWithForms Method

Private helper of THotPDF that interprets a content stream and splices in, at the place of each Do operator, the glyphs of the Form XObject it paints

Declaration

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

Unit

HPDFDoc

Parameters

NamePurpose
BytesDecoded content stream
ResolverFont decoders for the font resources the stream names
ResourcesResource dictionary that names the stream's fonts and XObjects
CTMTransformation from the stream's space to user space
DepthNesting depth of the stream; forms deeper than 12 levels are not entered
ChainForm XObject streams being interpreted around this one; a form already in the chain is skipped
GlyphsReceives the glyphs in painting order

Return value

True when the stream could be interpreted

Usage notes

Related APIs