HPDFInterpretContentTokensDevice Procedure

Dispatches an existing token array to a semantic or complete operator device without tokenising the content stream again

Declarations

procedure HPDFInterpretContentTokensDevice(
  const Tokens: THPDFContentTokenArray;
  const Device: IHPDFContentDevice); overload;

procedure HPDFInterpretContentTokensDevice(
  const Tokens: THPDFContentTokenArray;
  const OperatorIndexes: array of Integer;
  const Device: IHPDFContentDevice); overload;

The second overload uses validated cached operator indexes and avoids scanning operand tokens during replay

Devices that implement IHPDFContentOperatorDevice receive complete operators and cancellation checkpoints, whilst other devices use the capability-filtered semantic dispatcher

HPDFInterpretContentStreamDevice is the byte-level entry that tokenises and interprets raw content-stream bytes through the same device dispatch, and HPDFExtractGlyphsViaDevice routes glyph extraction through the device interface with a caller-supplied IHPDFFontResolver

IHPDFContentOperatorDevice Interface