THotPDF.InterpretContentWithForms Method

Private helper of THotPDF that interprets a content stream and, at the place of each Do operator, splices in the glyphs of the Form XObject that operator 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
BytesThe decoded content stream
ResolverFont decoders for the font resources the stream names
ResourcesThe resource dictionary that names the stream's fonts and XObjects
CTMTransformation from the stream's space into user space
DepthNesting depth of the stream; forms nested more than 12 levels deep 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