GlyphLoc.java
1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.xfa.text;
import com.adobe.xfa.text.DispMapItem;
class GlyphLoc
extends DispMapItem {
private int mnGlyphIndex;
GlyphLoc() {
}
GlyphLoc(int nGlyphIndex) {
this.mnGlyphIndex = nGlyphIndex;
}
GlyphLoc(GlyphLoc source) {
this.copyFrom(source);
}
GlyphLoc(GlyphLoc source, int index, int length) {
super(index, length);
this.mnGlyphIndex = source.mnGlyphIndex;
}
GlyphLoc(int glyphIndex, int mapIndex, int mapLength) {
super(mapIndex, mapLength);
this.mnGlyphIndex = glyphIndex;
}
int getGlyphIndex() {
return this.mnGlyphIndex;
}
void setGlyphIndex(int nGlyphIndex) {
this.mnGlyphIndex = nGlyphIndex;
}
void copyFrom(GlyphLoc source) {
super.copyFrom(source);
this.mnGlyphIndex = source.mnGlyphIndex;
}
@Override
GlyphLoc g() {
return this;
}
@Override
DispMapItem cloneMapItem(int index, int length) {
return new GlyphLoc(this, index, length);
}
@Override
void copyFrom(DispMapItem source) {
assert (source instanceof GlyphLoc);
this.copyFrom((GlyphLoc)source);
}
}