Lines Matching refs:resWidth
401 FindDistance (w, fromPos, fromx, toPos, resWidth, resPos, resHeight)
406 int* resWidth; /* Distance between fromPos and resPos. */
421 *resWidth = 0;
426 *resWidth += CharWidth(w, fromx + *resWidth, c);
438 FindPosition(w, fromPos, fromx, width, stopAtWordBreak, resPos, resWidth, resHeight)
446 int* resWidth; /* Actual width used. */
462 *resWidth = 0;
465 for (index = fromPos; *resWidth <= width && index < lastPos; index++) {
466 lastWidth = *resWidth;
470 *resWidth += CharWidth(w, fromx + *resWidth, c);
473 *resWidth <= width) {
476 whiteSpaceWidth = *resWidth;
483 if (*resWidth > width && index > fromPos) {
484 *resWidth = lastWidth;
488 *resWidth = whiteSpaceWidth;
503 int resWidth, resHeight;
506 FindPosition(w, pos, fromx, width, FALSE, leftPos, &resWidth, &resHeight);