
org.openpdf.renderer.function.postscript.operation.Truncate 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 Truncate implements PostScriptOperation {
@Override
/**
* num1 truncate num2
*
* truncates num1 toward 0 by removing its fractional part.
* The type of the result is the same as the type of the
* operand.
*
* errors: stackunderflow, typecheck
*/
public void eval(Stack
© 2015 - 2025 Weber Informatics LLC | Privacy Policy