Searched refs:fNorm (Results 1 – 4 of 4) sorted by relevance
/third_party/flutter/skia/src/gpu/ops/ |
D | GrAAConvexTessellator.cpp | 849 fPts[i].fNorm = norms[i]; in init() 859 fPts[cur].fNorm = tess.point(fPts[next].fIndex) - tess.point(fPts[cur].fIndex); in computeNormals() 860 SkPoint::Normalize(&fPts[cur].fNorm); in computeNormals() 861 fPts[cur].fNorm = SkPointPriv::MakeOrthog(fPts[cur].fNorm, tess.side()); in computeNormals() 868 fPts[cur].fBisector = fPts[cur].fNorm + fPts[prev].fNorm; in computeBisectors() 871 SkPointPriv::MakeOrthog(fPts[cur].fNorm, (SkPointPriv::Side)-tess.side()) + in computeBisectors() 872 SkPointPriv::MakeOrthog(fPts[prev].fNorm, tess.side()); in computeBisectors() 1055 draw_arrow(canvas, mid, fPts[cur].fNorm, kArrowLength, SK_ColorRED); in draw() 1056 mid.fX += (kArrowLength/2) * fPts[cur].fNorm.fX; in draw() 1057 mid.fY += (kArrowLength/2) * fPts[cur].fNorm.fY; in draw()
|
D | GrAAConvexTessellator.h | 153 const SkPoint& norm(int index) const { return fPts[index].fNorm; } in norm() 170 SkPoint fNorm; member
|
/third_party/skia/src/gpu/geometry/ |
D | GrAAConvexTessellator.cpp | 858 fPts[i].fNorm = norms[i]; in init() 868 fPts[cur].fNorm = tess.point(fPts[next].fIndex) - tess.point(fPts[cur].fIndex); in computeNormals() 869 SkPoint::Normalize(&fPts[cur].fNorm); in computeNormals() 870 fPts[cur].fNorm = SkPointPriv::MakeOrthog(fPts[cur].fNorm, tess.side()); in computeNormals() 877 fPts[cur].fBisector = fPts[cur].fNorm + fPts[prev].fNorm; in computeBisectors() 880 SkPointPriv::MakeOrthog(fPts[cur].fNorm, (SkPointPriv::Side)-tess.side()) + in computeBisectors() 881 SkPointPriv::MakeOrthog(fPts[prev].fNorm, tess.side()); in computeBisectors() 1069 draw_arrow(canvas, mid, fPts[cur].fNorm, kArrowLength, SK_ColorRED); in draw() 1070 mid.fX += (kArrowLength/2) * fPts[cur].fNorm.fX; in draw() 1071 mid.fY += (kArrowLength/2) * fPts[cur].fNorm.fY; in draw()
|
D | GrAAConvexTessellator.h | 153 const SkPoint& norm(int index) const { return fPts[index].fNorm; } in norm() 170 SkPoint fNorm; member
|