Lines Matching refs:line
230 memcpy(key, &fShape.line(), sizeof(GrLineSegment));
513 pts[0] = fShape.line().fP1;
514 pts[1] = fShape.line().fP2;
597 // Remember if the original shape was closed; in the event we simplify to a point or line
656 // Otherwise, if we're a point or a line, we might be able to explicitly apply some of the
667 // the caps. For dashing a line, if every off interval is 0 length, its a stroke.
676 // An off interval has non-zero length so this won't convert to a simple line
688 // Since the reduced the line or point after dashing is dependent on the caps of the dashes,
694 // At this point, we're a line or point with no path effects. Any fill portion of the style
708 // A point or line that was formed by a degenerate closed shape needs its style updated to
713 // As a closed shape, the line moves from a to b and back to a, producing a 180 degree
715 // identical to a round cap on the reduced line geometry.
718 // If this were a closed line, the 180 degree turn either is a miter join that exceeds
722 // it fits this closed line description (it is not two 90 degree turns that could
757 if (fShape.line().fP1.fY == fShape.line().fP2.fY) {
758 rect.fLeft = std::min(fShape.line().fP1.fX, fShape.line().fP2.fX);
759 rect.fRight = std::max(fShape.line().fP1.fX, fShape.line().fP2.fX);
760 rect.fTop = rect.fBottom = fShape.line().fP1.fY;
763 } else if (fShape.line().fP1.fX == fShape.line().fP2.fX) {
764 rect.fTop = std::min(fShape.line().fP1.fY, fShape.line().fP2.fY);
765 rect.fBottom = std::max(fShape.line().fP1.fY, fShape.line().fP2.fY);
766 rect.fLeft = rect.fRight = fShape.line().fP1.fX;