Lines Matching defs:strike
152 private AffineTransform dtx; // device transform used for strike calculations, no translation
155 private Font2D font2D; // basic strike-independent stuff
156 private SoftReference fsref; // font strike reference for glyphs with no per-glyph transform
201 FontStrike strike = f2d.getStrike(font, frc);
209 if (strike.getGlyphAdvance(glyphs[n++]) != 0) { // might be an inadequate test
257 * because a GV caches a strike and glyph images suitable for its FRC.
549 Point2D.Float adv = gs.strike.getGlyphMetrics(glyphs[ix]);
610 getGlyphStrike(ix).strike.getGlyphMetrics(glyphs[ix]);
860 Point2D.Float adv = s.strike.getGlyphMetrics(glyphID);
938 gs.strike.getGlyphImagePtrs(glyphs, images, glyphs.length);
1009 * Change the dtx for the strike refs we use. Keeps a reference to the at. At
1210 FontStrike fs = getDefaultStrike().strike;
1356 // encapsulate access to cached default glyph strike
1383 boolean haveAllStrikes; // true if the strike array has been filled by getStrikes().
1575 * The strike cache works like this.
1578 * -Each request for a strike is based on a device transform, either the
1583 * info along with the image and position info, but toss the strike info
1585 * -Build the strike cache as needed. If the dev transform we want to use
1598 images[i] = gs.strike.getGlyphImagePtr(glyphID);
1617 gs.strike.getGlyphImageBounds(sgv.glyphs[start++], pt, r);
1668 GlyphStrike strike = strikes[strikeIndex];
1669 if (strike == null) {
1671 strike = sgv.getDefaultStrike();
1681 strike = GlyphStrike.create(sgv, sgv.dtx, gtx);
1683 strikes[strikeIndex] = strike;
1685 return strike;
1691 // strike.
1696 FontStrike strike; // hard reference
1744 FontStrike strike = sgv.font2D.getStrike(desc); // !!! getStrike(desc, false)
1746 return new GlyphStrike(sgv, strike, dx, dy);
1749 private GlyphStrike(StandardGlyphVector sgv, FontStrike strike, float dx, float dy) {
1751 this.strike = strike;
1757 StrikeMetrics sm = strike.getFontMetrics();
1781 // strike.addGlyphAdvance(Point2D.Float adv); // hey, whaddya know, matches my api :-)
1782 Point2D.Float adv = strike.getGlyphMetrics(glyphID);
1791 result.setRect(strike.getGlyphOutlineBounds(glyphID)); // don't mutate cached rect
1793 GeneralPath gp = strike.getGlyphOutline(glyphID, 0, 0);
1817 gp = strike.getGlyphOutline(glyphID, x + dx, y + dy);
1819 gp = strike.getGlyphOutline(glyphID, 0, 0);