Lines Matching defs:glyphInfoPtr
37 long glyphInfoPtr;
47 public XRGlyphCacheEntry(long glyphInfoPtr, GlyphList gl) {
48 this.glyphInfoPtr = glyphInfoPtr;
71 public static int getGlyphID(long glyphInfoPtr) {
78 return (int) StrikeCache.unsafe.getAddress(glyphInfoPtr +
82 public static void setGlyphID(long glyphInfoPtr, int id) {
92 StrikeCache.unsafe.putAddress(glyphInfoPtr +
97 return getGlyphID(glyphInfoPtr);
101 setGlyphID(glyphInfoPtr, id);
105 return StrikeCache.unsafe.getFloat(glyphInfoPtr + StrikeCache.xAdvanceOffset);
109 return StrikeCache.unsafe.getFloat(glyphInfoPtr + StrikeCache.yAdvanceOffset);
113 return StrikeCache.unsafe.getShort(glyphInfoPtr + StrikeCache.rowBytesOffset);
117 return StrikeCache.unsafe.getShort(glyphInfoPtr + StrikeCache.widthOffset);
121 return StrikeCache.unsafe.getShort(glyphInfoPtr + StrikeCache.heightOffset);
126 StrikeCache.unsafe.getAddress(glyphInfoPtr +
168 return StrikeCache.unsafe.getFloat(glyphInfoPtr + StrikeCache.topLeftXOffset);
172 return StrikeCache.unsafe.getFloat(glyphInfoPtr + StrikeCache.topLeftYOffset);
176 return glyphInfoPtr;