Lines Matching refs:tess
850 void GrAAConvexTessellator::Ring::init(const GrAAConvexTessellator& tess) {
851 this->computeNormals(tess);
852 this->computeBisectors(tess);
864 void GrAAConvexTessellator::Ring::computeNormals(const GrAAConvexTessellator& tess) {
868 fPts[cur].fNorm = tess.point(fPts[next].fIndex) - tess.point(fPts[cur].fIndex);
870 fPts[cur].fNorm = SkPointPriv::MakeOrthog(fPts[cur].fNorm, tess.side());
874 void GrAAConvexTessellator::Ring::computeBisectors(const GrAAConvexTessellator& tess) {
880 SkPointPriv::MakeOrthog(fPts[cur].fNorm, (SkPointPriv::Side)-tess.side()) +
881 SkPointPriv::MakeOrthog(fPts[prev].fNorm, tess.side());
892 bool GrAAConvexTessellator::Ring::isConvex(const GrAAConvexTessellator& tess) const {
897 SkPoint prev = tess.point(fPts[0].fIndex) - tess.point(fPts.top().fIndex);
898 SkPoint cur = tess.point(fPts[1].fIndex) - tess.point(fPts[0].fIndex);
906 cur = tess.point(fPts[next].fIndex) - tess.point(fPts[i].fIndex);
1053 void GrAAConvexTessellator::Ring::draw(SkCanvas* canvas, const GrAAConvexTessellator& tess) const {
1061 tess.point(fPts[cur].fIndex),
1062 tess.point(fPts[next].fIndex),
1065 SkPoint mid = tess.point(fPts[cur].fIndex) + tess.point(fPts[next].fIndex);
1079 draw_arrow(canvas, tess.point(fPts[cur].fIndex), fPts[cur].fBisector,