Lines Matching defs:dinfo
467 DashInfo * dinfo,
589 if (dinfo->haveLast &&
590 (pt->x == dinfo->endPt.x) && (pt->y == dinfo->endPt.y)) {
594 dinfo->dashIndex = dinfo->dashIndexInit;
595 dinfo->dashOffset = dinfo->dashOffsetInit;
597 if (!dinfo->skipStart && (info.startAngle != info.endAngle)) {
598 dinfo->startPt = *pt;
599 dinfo->haveStart = TRUE;
601 else if (!dinfo->skipLast && dinfo->haveStart &&
602 (lastPt->x == dinfo->startPt.x) &&
603 (lastPt->y == dinfo->startPt.y) && (lastPt != startPts[i]))
606 dinfo->haveLast = TRUE;
607 dinfo->endPt = *lastPt;
609 dashRemaining = pGC->dash[dinfo->dashIndex] - dinfo->dashOffset;
615 if (dinfo->dashIndex & 1) {
628 if (dinfo->dashIndex & 1)
633 if (++(dinfo->dashIndex) == pGC->numInDashList)
634 dinfo->dashIndex = 0;
635 dashRemaining = pGC->dash[dinfo->dashIndex];
639 dinfo->dashOffset = pGC->dash[dinfo->dashIndex] - dashRemaining;
655 DashInfo dinfo;
681 dinfo.haveStart = FALSE;
682 dinfo.skipStart = FALSE;
683 dinfo.haveLast = FALSE;
684 dinfo.dashIndexInit = 0;
685 dinfo.dashOffsetInit = 0;
686 miStepDash((int) pGC->dashOffset, &dinfo.dashIndexInit,
688 &dinfo.dashOffsetInit);
704 dinfo.skipLast = i;
705 miZeroArcDashPts(pGC, arc, &dinfo,
707 dinfo.skipStart = TRUE;