Lines Matching refs:strikes
910 // used by glyphList to get strong refs to font strikes for duration of rendering call
915 // the multiple-strikes case
924 * strikes based on it to generate the images. Finally, we fill in the positions
1204 setDTX(tx); // need to get the right strikes, but we use tx itself to translate the points
1380 int[] indices; // index into unique strikes
1382 SoftReference strikesRef; // ref to unique strikes, one per transform
1580 * -For general info, strikes are held with soft references.
1581 * -When rendering, strikes must be held with hard references for the
1631 GlyphStrike[] strikes = getStrikeArray();
1632 return getStrikeAtIndex(strikes, indices[glyphIndex]);
1642 GlyphStrike[] strikes = getStrikeArray();
1644 for (int i = 0; i < strikes.length; ++i) {
1645 getStrikeAtIndex(strikes, i);
1650 return strikes;
1654 GlyphStrike[] strikes = null;
1656 strikes = (GlyphStrike[])strikesRef.get();
1658 if (strikes == null) {
1660 strikes = new GlyphStrike[transformCount() + 1];
1661 strikesRef = new SoftReference(strikes);
1664 return strikes;
1667 private GlyphStrike getStrikeAtIndex(GlyphStrike[] strikes, int strikeIndex) {
1668 GlyphStrike strike = strikes[strikeIndex];
1683 strikes[strikeIndex] = strike;