Lines Matching defs:info
246 // cached values computed from GlyphSets and set info:
1072 * The text hit info (1, t) represents the trailing side of 'b'. If 'q',
1118 float[] info) {
1176 if (info == null) {
1177 info = new float[2];
1181 info[1] = (float) ((topX - bottomX) / bounds.getWidth());
1182 info[0] = (float) (topX + (info[1]*bounds.getX()));
1185 info[1] = (float) ((topX - bottomX) / bounds.getHeight());
1186 info[0] = (float) (bottomX + (info[1]*bounds.getMaxY()));
1189 return info;
1202 * @param bounds the bounds to which the caret info is constructed.
1205 * the caret. The returned caret info is in baseline-relative coordinates.
1216 // this version provides extra info in the float array
1227 float[] info = new float[6];
1230 getCaretInfo(hitToCaret(hit), bounds, info);
1295 info[2] = (float)p1x;
1296 info[3] = (float)p1y;
1297 info[4] = (float)p2x;
1298 info[5] = (float)p2y;
1300 return info;
1309 * returned caret info is in baseline-relative coordinates.
1624 float[] info = getCaretInfo(hit, bounds);
1625 return new double[] { info[2], info[3], info[4], info[5] };
1640 float[] info = getCaretInfo(caret, bounds, null);
1642 double pos = info[0];
1643 double slope = info[1];