Lines Matching defs:normal
174 // Note: this is the normal to the edge, but not necessarily unit length.
175 static void get_edge_normal(const Edge* e, SkVector* normal) {
176 normal->set(SkDoubleToScalar(e->fLine.fA),
193 SkVector normal;
194 get_edge_normal(e, &normal);
204 } else if (prevNormal.dot(normal) < 0.0 &&
224 prevNormal = normal;
432 SkVector normal;
433 get_edge_normal(e, &normal);
442 float cosAngle = normal.dot(prevNormal);
458 if (prevNormal.cross(normal) > 0) {
541 prevNormal = normal;
550 // is always filled (1 + -2 = -1 for normal cases, 1 + 2 = 3 for thin features where the