
org.openpdf.renderer.function.postscript.operation.If Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openpdf-renderer Show documentation
Show all versions of openpdf-renderer Show documentation
PDF renderer implementation supporting the subset of PDF 1.4 specification.
The newest version!
package org.openpdf.renderer.function.postscript.operation;
import java.util.Stack;
final class If implements PostScriptOperation {
@Override
/**
* bool {proc} if -
*
* removes both operands from the stack, then executes proc
* if bool is true. The if operator pushes no results of
* its own on the operand stack, but proc may do so (see
* Section 3.5, "Execution").
*
* Examples
* 3 4 lt {(3 is less than 4)} if
*
* errors: stackunderflow, typecheck
*/
public void eval(Stack
© 2015 - 2025 Weber Informatics LLC | Privacy Policy