Lines Matching defs:glyphCode
57 int glyphCode);
61 int glyphCode,
67 int glyphCode,
158 float getGlyphAdvance(final int glyphCode) {
159 return getCachedNativeGlyphAdvance(glyphCode);
173 Point2D.Float getGlyphMetrics(final int glyphCode) {
174 return new Point2D.Float(getGlyphAdvance(glyphCode), 0.0f);
177 Rectangle2D.Float getGlyphOutlineBounds(int glyphCode) {
178 GeneralPath gp = getGlyphOutline(glyphCode, 0f, 0f);
194 void getGlyphImageBounds(int glyphCode, Point2D.Float pt, Rectangle result) {
201 getGlyphImageBounds(glyphCode, pt.x, pt.y, floatRect);
211 private void getGlyphImageBounds(int glyphCode, float x, float y, Rectangle2D.Float floatRect) {
212 getNativeGlyphImageBounds(getNativeStrikePtr(), glyphCode, floatRect, x, y);
215 GeneralPath getGlyphOutline(int glyphCode, float x, float y) {
216 return getNativeGlyphOutline(getNativeStrikePtr(), glyphCode, x, y);
225 long getGlyphImagePtr(int glyphCode) {
227 long ptr = glyphInfoCache.get(glyphCode);
232 codes[0] = glyphCode;
237 glyphInfoCache.put(glyphCode, ptr);
339 private float getCachedNativeGlyphAdvance(int glyphCode) {
341 float advance = glyphAdvanceCache.get(glyphCode);
346 advance = getNativeGlyphAdvance(getNativeStrikePtr(), glyphCode);
347 glyphAdvanceCache.put(glyphCode, advance);