
org.openpdf.renderer.function.postscript.operation.Cvr 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 Cvr implements PostScriptOperation {
@Override
/**
* num cvr real or string cvr real
*
* (convert to real) takes an integer, real, or string
* object and produces a real result. If the operand
* is an integer, cvr converts it to a real number.
* If the operand is a real number, cvr simply returns it.
* If the operand is a string, cvr invokes the equivalent
* of the token operator to interpret the characters of
* the string as a number according to the PostScript
* syntax rules. If that number is an integer, cvr converts
* it to a real number.
*
* errors: invalidaccess, limitcheck, stackunderflow,
* syntaxerror, typecheck, undefinedresult
*/
public void eval(Stack
© 2015 - 2025 Weber Informatics LLC | Privacy Policy