Skip to main content

exec_sync

Function exec_sync 

Source
pub fn exec_sync(ctx: &mut Context, proc_obj: PsObject) -> Result<(), PsError>
Expand description

Synchronously execute a PostScript procedure and return.

Pushes the procedure onto the e_stack and runs the eval loop until the e_stack returns to its original depth. Used by operators that need to call PS procedures as callbacks (filter/image data sources, tint transforms, BuildChar, etc.).