Lines Matching refs:fromPos
401 FindDistance (w, fromPos, fromx, toPos, resWidth, resPos, resHeight)
403 XawTextPosition fromPos; /* First position. */
406 int* resWidth; /* Distance between fromPos and resPos. */
420 XawTextSourceRead(source, fromPos, &blk, (int) (toPos - fromPos));
422 for (index = fromPos; index != toPos && index < lastPos; index++) {
424 XawTextSourceRead(source, index, &blk, (int) (toPos - fromPos));
438 FindPosition(w, fromPos, fromx, width, stopAtWordBreak, resPos, resWidth, resHeight)
440 XawTextPosition fromPos; /* Starting position. */
461 XawTextSourceRead(source, fromPos, &blk, BUFSIZ);
465 for (index = fromPos; *resWidth <= width && index < lastPos; index++) {
483 if (*resWidth > width && index > fromPos) {