โพรซีเจอร์ HPDFInterpretContentTokensDevice
ส่งต่ออาร์เรย์ token ที่มีอยู่แล้วไปยัง device แบบ semantic หรือแบบ operator สมบูรณ์ โดยไม่ต้องแยก token ของ content stream ซ้ำอีก
การประกาศ
procedure HPDFInterpretContentTokensDevice(
const Tokens: THPDFContentTokenArray;
const Device: IHPDFContentDevice); overload;
procedure HPDFInterpretContentTokensDevice(
const Tokens: THPDFContentTokenArray;
const OperatorIndexes: array of Integer;
const Device: IHPDFContentDevice); overload;
overload ตัวที่สองใช้ operator index จาก cache ที่ผ่านการตรวจสอบแล้ว จึงไม่ต้องสแกน token ฝั่ง operand ระหว่างการเล่นซ้ำ
device ที่ implement IHPDFContentOperatorDevice จะได้รับ operator แบบสมบูรณ์พร้อมจุดตรวจการยกเลิก ส่วน device อื่นจะใช้ dispatcher แบบ semantic ที่กรองตามความสามารถ