
org.openpdf.renderer.function.postscript.operation.Sub 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 Sub implements PostScriptOperation {
@Override
/**
* num1 num2 sub difference
*
* returns the result of subtracting num2 from num1.
* If both operands are integers and the result is within
* integer range, the result is an integer; otherwise,
* the result is a real number.
*
* errors: stackunderflow, typecheck, undefinedresult
*/
public void eval(Stack
© 2015 - 2025 Weber Informatics LLC | Privacy Policy