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

IHPDFContentOperatorDevice Interface