Lines Matching defs:ix

336     public int getGlyphCharIndex(int ix) {
337 if (ix < 0 && ix >= glyphs.length) {
338 throw new IndexOutOfBoundsException("" + ix);
342 return glyphs.length - 1 - ix;
344 return ix;
346 return charIndices[ix];
431 public Shape getGlyphOutline(int ix) {
432 return getGlyphsOutline(ix, 1, 0, 0);
436 public Shape getGlyphOutline(int ix, float x, float y) {
437 return getGlyphsOutline(ix, 1, x, y);
440 public Point2D getGlyphPosition(int ix) {
443 ix *= 2;
444 return new Point2D.Float(positions[ix], positions[ix + 1]);
447 public void setGlyphPosition(int ix, Point2D pos) {
450 int ix2 = ix << 1;
454 clearCaches(ix);
458 public AffineTransform getGlyphTransform(int ix) {
459 if (ix < 0 || ix >= glyphs.length) {
460 throw new IndexOutOfBoundsException("ix = " + ix);
463 return gti.getGlyphTransform(ix);
468 public void setGlyphTransform(int ix, AffineTransform newTX) {
469 if (ix < 0 || ix >= glyphs.length) {
470 throw new IndexOutOfBoundsException("ix = " + ix);
479 gti.setGlyphTransform(ix, newTX); // sets flags
523 public Shape getGlyphLogicalBounds(int ix) {
524 if (ix < 0 || ix >= glyphs.length) {
525 throw new IndexOutOfBoundsException("ix = " + ix);
534 Shape result = lbcache[ix];
546 GlyphStrike gs = getGlyphStrike(ix);
549 Point2D.Float adv = gs.strike.getGlyphMetrics(glyphs[ix]);
555 float x = positions[ix*2] + gs.dx - adl.ascentX;
556 float y = positions[ix*2+1] + gs.dy - adl.ascentY;
566 lbcache[ix] = result;
573 public Shape getGlyphVisualBounds(int ix) {
574 if (ix < 0 || ix >= glyphs.length) {
575 throw new IndexOutOfBoundsException("ix = " + ix);
584 Shape result = vbcache[ix];
586 result = new DelegatingShape(getGlyphOutlineBounds(ix));
587 vbcache[ix] = result;
598 public GlyphMetrics getGlyphMetrics(int ix) {
599 if (ix < 0 || ix >= glyphs.length) {
600 throw new IndexOutOfBoundsException("ix = " + ix);
603 Rectangle2D vb = getGlyphVisualBounds(ix).getBounds2D();
604 Point2D pt = getGlyphPosition(ix);
610 getGlyphStrike(ix).strike.getGlyphMetrics(glyphs[ix]);
617 public GlyphJustificationInfo getGlyphJustificationInfo(int ix) {
618 if (ix < 0 || ix >= glyphs.length) {
619 throw new IndexOutOfBoundsException("ix = " + ix);
1171 private Rectangle2D getGlyphOutlineBounds(int ix) {
1174 return getGlyphStrike(ix).getGlyphOutlineBounds(glyphs[ix], positions[ix*2], positions[ix*2+1]);
1231 private void clearCaches(int ix) {
1235 lbcache[ix] = null;
1242 vbcache[ix] = null;
1348 private GlyphStrike getGlyphStrike(int ix) {
1352 return gti.getStrike(ix);
1552 AffineTransform getGlyphTransform(int ix) {
1553 int index = indices[ix];
1673 int ix = (strikeIndex - 1) * 6;
1674 AffineTransform gtx = new AffineTransform(transforms[ix],
1675 transforms[ix+1],
1676 transforms[ix+2],
1677 transforms[ix+3],
1678 transforms[ix+4],
1679 transforms[ix+5]);
1773 void getGlyphPosition(int glyphID, int ix, float[] positions, float[] result) {
1774 result[ix] = positions[ix] + dx;
1775 ++ix;
1776 result[ix] = positions[ix] + dy;