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 abstract class FontOperator
- extends PSOperator
Font Operators for PostScript Processor
- Version:
- $Id: FontOperator.java,v 1.27 2002/08/24 00:04:15 duns Exp $
- Author:
- Mark Donszelmann
Fields inherited from class org.freehep.postscript.PSObject |
name |
Method Summary |
protected void |
defineFont(PSDictionary fontDirectory,
PSName key,
PSDictionary font)
|
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)
Copyright © 2000-2002 FreeHEP, All Rights Reserved.