All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openpdf.renderer.function.postscript.operation.Cvr Maven / Gradle / Ivy

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 environment) { // YOUR CODE IN THIS SPACE } }