org.freehep.postscript
Class FontOperator
java.lang.Object
org.freehep.postscript.PSObject
org.freehep.postscript.PSSimple
org.freehep.postscript.PSOperator
org.freehep.postscript.FontOperator
- All Implemented Interfaces:
- Cloneable
public class FontOperator
- extends PSOperator
Font Operators for PostScript Processor
- Version:
- $Id: FontOperator.java 8951 2006-09-12 21:44:14Z duns $
- Author:
- Mark Donszelmann
Fields inherited from class org.freehep.postscript.PSObject |
name |
Method Summary |
protected void |
defineFont(PSDictionary fontDirectory,
PSName key,
PSDictionary font)
|
boolean |
execute(OperandStack os)
|
protected PSDictionary |
findFont(PSDictionary fontDirectory,
PSName key)
|
protected PSGlyph |
getCachedGlyph(PSDictionary font,
PSName name)
|
protected PSDictionary |
makeFont(PSDictionary font,
double[] matrix)
|
protected void |
setFont(OperandStack os,
PSDictionary font)
|
protected void |
show(OperandStack os,
int cc)
|
protected void |
show(OperandStack os,
int cc,
PSName name)
|
protected void |
show(OperandStack os,
PSGState gs,
PSDictionary font,
int cc,
PSName name)
|
static float |
stringWidth(OperandStack os,
int cc)
|
protected static float |
stringWidth(PSDictionary font,
PSName name)
|
fontCache
protected static Hashtable fontCache
operators
public static Class[] operators
currentGlyph
protected PSGlyph currentGlyph
FontOperator
public FontOperator()
findFont
protected PSDictionary findFont(PSDictionary fontDirectory,
PSName key)
defineFont
protected void defineFont(PSDictionary fontDirectory,
PSName key,
PSDictionary font)
makeFont
protected PSDictionary makeFont(PSDictionary font,
double[] matrix)
setFont
protected void setFont(OperandStack os,
PSDictionary font)
getCachedGlyph
protected PSGlyph getCachedGlyph(PSDictionary font,
PSName name)
show
protected void show(OperandStack os,
int cc)
show
protected void show(OperandStack os,
int cc,
PSName name)
show
protected void show(OperandStack os,
PSGState gs,
PSDictionary font,
int cc,
PSName name)
stringWidth
public static float stringWidth(OperandStack os,
int cc)
stringWidth
protected static float stringWidth(PSDictionary font,
PSName name)
execute
public boolean execute(OperandStack os)
- Specified by:
execute
in class PSObject
Copyright © 2000-2006 FreeHEP. All Rights Reserved.