public class Type2ConsumerDefaultImpl extends Object implements Type2Consumer
| Constructor and Description |
|---|
Type2ConsumerDefaultImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
abs(double[] stack,
int stackDepth) |
void |
add(double[] stack,
int stackDepth) |
void |
and(double[] stack,
int stackDepth) |
void |
callgsubr(double[] stack,
int stackDepth,
int subr) |
void |
callsubr(double[] stack,
int stackDepth,
int subr) |
void |
cntrmask(double[] stack,
int stackDepth,
com.adobe.fontengine.font.cff.CFFByteArray data,
int offset,
int length) |
void |
div(double[] stack,
int stackDepth) |
void |
drop(double[] stack,
int stackDepth) |
void |
dup(double[] stack,
int stackDepth) |
void |
endchar(double[] stack,
int stackDepth) |
void |
eq(double[] stack,
int stackDepth) |
void |
exch(double[] stack,
int stackDepth) |
void |
flex(double[] stack,
int stackDepth) |
void |
flex1(double[] stack,
int stackDepth) |
void |
get(double[] stack,
int stackDepth) |
void |
globalColorMe(double[] stack,
int stackDepth) |
void |
hflex(double[] stack,
int stackDepth) |
void |
hflex1(double[] stack,
int stackDepth) |
void |
hhcurveto(double[] stack,
int stackDepth) |
void |
hintmask(double[] stack,
int stackDepth,
com.adobe.fontengine.font.cff.CFFByteArray data,
int offset,
int length) |
void |
hlineto(double[] stack,
int stackDepth) |
void |
hmoveto(double[] stack,
int stackDepth) |
void |
hstem(double[] stack,
int stackDepth) |
void |
hstemhm(double[] stack,
int stackDepth) |
void |
hvcurveto(double[] stack,
int stackDepth) |
void |
ifelse(double[] stack,
int stackDepth) |
void |
implicit_vstemhm(double[] stack,
int stackDepth)
Called when there is vstemhm operator implied by a hintmask or cntrmask operator.
|
void |
index(double[] stack,
int stackDepth) |
void |
integer(double[] stack,
int stackDepth,
int i) |
void |
moveto(double[] stack,
int stackDepth)
An absolute moveto (that is, a moveto that is not relative to the current point).
|
void |
mul(double[] stack,
int stackDepth) |
void |
neg(double[] stack,
int stackDepth) |
void |
not(double[] stack,
int stackDepth) |
void |
or(double[] stack,
int stackDepth) |
void |
put(double[] stack,
int stackDepth) |
void |
random(double[] stack,
int stackDepth) |
void |
rcurveline(double[] stack,
int stackDepth) |
void |
real(double[] stack,
int stackDepth,
double a) |
void |
return_op(double[] stack,
int stackDepth) |
void |
rlinecurve(double[] stack,
int stackDepth) |
void |
rlineto(double[] stack,
int stackDepth) |
void |
rmoveto(double[] stack,
int stackDepth) |
void |
roll(double[] stack,
int stackDepth) |
void |
rrcurveto(double[] stack,
int stackDepth) |
boolean |
seac(double[] stack,
int stackDepth) |
void |
sqrt(double[] stack,
int stackDepth) |
void |
sub(double[] stack,
int stackDepth) |
void |
vhcurveto(double[] stack,
int stackDepth) |
void |
vlineto(double[] stack,
int stackDepth) |
void |
vmoveto(double[] stack,
int stackDepth) |
void |
vstem(double[] stack,
int stackDepth) |
void |
vstemhm(double[] stack,
int stackDepth) |
void |
vvcurveto(double[] stack,
int stackDepth) |
boolean |
width(double w) |
public void abs(double[] stack,
int stackDepth)
abs in interface Type2Consumerpublic void add(double[] stack,
int stackDepth)
add in interface Type2Consumerpublic void and(double[] stack,
int stackDepth)
and in interface Type2Consumerpublic void callgsubr(double[] stack,
int stackDepth,
int subr)
callgsubr in interface Type2Consumersubr - the index of the global subroutine which is called.public void callsubr(double[] stack,
int stackDepth,
int subr)
callsubr in interface Type2Consumersubr - the index of the local subroutine which is called.public void cntrmask(double[] stack,
int stackDepth,
com.adobe.fontengine.font.cff.CFFByteArray data,
int offset,
int length)
throws InvalidFontException
cntrmask in interface Type2Consumerdata - holds the charstring (or subroutine) being interpretedoffset - the index of the first byte representing the cntrmasklength - the number of bytes in the cntrmaskInvalidFontExceptionpublic void div(double[] stack,
int stackDepth)
div in interface Type2Consumerpublic void drop(double[] stack,
int stackDepth)
drop in interface Type2Consumerpublic void dup(double[] stack,
int stackDepth)
dup in interface Type2Consumerpublic void endchar(double[] stack,
int stackDepth)
endchar in interface Type2Consumerpublic void eq(double[] stack,
int stackDepth)
eq in interface Type2Consumerpublic void exch(double[] stack,
int stackDepth)
exch in interface Type2Consumerpublic void flex(double[] stack,
int stackDepth)
flex in interface Type2Consumerpublic void flex1(double[] stack,
int stackDepth)
flex1 in interface Type2Consumerpublic void real(double[] stack,
int stackDepth,
double a)
real in interface Type2Consumera - the real number which is pushed on the stack by a 5 byte number operator.public void get(double[] stack,
int stackDepth)
get in interface Type2Consumerpublic void hflex(double[] stack,
int stackDepth)
hflex in interface Type2Consumerpublic void hflex1(double[] stack,
int stackDepth)
hflex1 in interface Type2Consumerpublic void hhcurveto(double[] stack,
int stackDepth)
hhcurveto in interface Type2Consumerpublic void hintmask(double[] stack,
int stackDepth,
com.adobe.fontengine.font.cff.CFFByteArray data,
int offset,
int length)
throws InvalidFontException
hintmask in interface Type2Consumerdata - holds the charstring (or subroutine) being interpretedoffset - the index of the first byte representing the hintmasklength - the number of bytes in the hintmaskInvalidFontExceptionpublic void hlineto(double[] stack,
int stackDepth)
hlineto in interface Type2Consumerpublic void hmoveto(double[] stack,
int stackDepth)
hmoveto in interface Type2Consumerpublic void moveto(double[] stack,
int stackDepth)
Type2Consumermoveto in interface Type2Consumerpublic void hstem(double[] stack,
int stackDepth)
hstem in interface Type2Consumerpublic void hstemhm(double[] stack,
int stackDepth)
hstemhm in interface Type2Consumerpublic void hvcurveto(double[] stack,
int stackDepth)
hvcurveto in interface Type2Consumerpublic void ifelse(double[] stack,
int stackDepth)
ifelse in interface Type2Consumerpublic void implicit_vstemhm(double[] stack,
int stackDepth)
Type2Consumerimplicit_vstemhm in interface Type2Consumerpublic void index(double[] stack,
int stackDepth)
index in interface Type2Consumerpublic void integer(double[] stack,
int stackDepth,
int i)
integer in interface Type2Consumeri - the integer which is pushed on the stack by an integer operator.public void mul(double[] stack,
int stackDepth)
mul in interface Type2Consumerpublic void neg(double[] stack,
int stackDepth)
neg in interface Type2Consumerpublic void not(double[] stack,
int stackDepth)
not in interface Type2Consumerpublic void or(double[] stack,
int stackDepth)
or in interface Type2Consumerpublic void put(double[] stack,
int stackDepth)
put in interface Type2Consumerpublic void random(double[] stack,
int stackDepth)
random in interface Type2Consumerpublic void rcurveline(double[] stack,
int stackDepth)
rcurveline in interface Type2Consumerpublic void return_op(double[] stack,
int stackDepth)
return_op in interface Type2Consumerpublic void rlinecurve(double[] stack,
int stackDepth)
rlinecurve in interface Type2Consumerpublic void rlineto(double[] stack,
int stackDepth)
rlineto in interface Type2Consumerpublic void rmoveto(double[] stack,
int stackDepth)
rmoveto in interface Type2Consumerpublic void roll(double[] stack,
int stackDepth)
roll in interface Type2Consumerpublic void rrcurveto(double[] stack,
int stackDepth)
rrcurveto in interface Type2Consumerpublic void sqrt(double[] stack,
int stackDepth)
sqrt in interface Type2Consumerpublic void sub(double[] stack,
int stackDepth)
sub in interface Type2Consumerpublic void vhcurveto(double[] stack,
int stackDepth)
vhcurveto in interface Type2Consumerpublic void vlineto(double[] stack,
int stackDepth)
vlineto in interface Type2Consumerpublic void vmoveto(double[] stack,
int stackDepth)
vmoveto in interface Type2Consumerpublic void vstem(double[] stack,
int stackDepth)
vstem in interface Type2Consumerpublic void vstemhm(double[] stack,
int stackDepth)
vstemhm in interface Type2Consumerpublic void vvcurveto(double[] stack,
int stackDepth)
vvcurveto in interface Type2Consumerpublic boolean width(double w)
width in interface Type2Consumerw - the width recorded in the charstring, to be added to the nominal
width of the font; if this method is not called, the width of this outline
is the default width of the font.public boolean seac(double[] stack,
int stackDepth)
seac in interface Type2Consumerstack - the stack containing the following params:
Optionally, the advance width. If the stackDepth is 5, the first element
on the stack is the width.
adx: the horizontal position of the accent character relative to the
base character's origin.
ady: the vertical position of the accent character relative to the base
character's origin.
bchar: the character code of the base character in Standard Encoding.
achar: the character code of the accent character in Standard Encoding.public void globalColorMe(double[] stack,
int stackDepth)
globalColorMe in interface Type2ConsumerCopyright © 2010 - 2020 Adobe. All Rights Reserved