Lines Matching refs:fromPos
353 FindDistance (w, fromPos, fromx, toPos, resWidth, resPos, resHeight)
355 XawTextPosition fromPos; /* First position. */
358 int *resWidth; /* Distance between fromPos and resPos. */
371 XawTextSourceRead(source, fromPos, &blk, toPos - fromPos);
373 for (index = fromPos; index != toPos && index < lastPos; index++) {
375 XawTextSourceRead(source, index, &blk, toPos - fromPos);
389 FindPosition(w, fromPos, fromx, width, stopAtWordBreak,
392 XawTextPosition fromPos; /* Starting position. */
412 XawTextSourceRead(source, fromPos, &blk, BUFSIZ);
416 for (index = fromPos; *resWidth <= width && index < lastPos; index++) {
433 if (*resWidth > width && index > fromPos) {