Lines Matching refs:fromPos
377 FindDistance (w, fromPos, fromx, toPos, resWidth, resPos, resHeight)
379 XawTextPosition fromPos; /* First position. */
382 int *resWidth; /* Distance between fromPos and resPos. */
395 XawTextSourceRead(source, fromPos, &blk, (int)(toPos - fromPos));
397 for (index = fromPos; index != toPos && index < lastPos; index++) {
399 XawTextSourceRead(source, index, &blk, (int)(toPos - fromPos));
413 FindPosition(w, fromPos, fromx, width, stopAtWordBreak,
416 XawTextPosition fromPos; /* Starting position. */
436 XawTextSourceRead(source, fromPos, &blk, BUFSIZ);
440 for (index = fromPos; *resWidth <= width && index < lastPos; index++) {
457 if (*resWidth > width && index > fromPos) {