Lines Matching defs:winding

48     // compute area and use sign to determine winding
203 // Check that winding direction is always the same (otherwise we have a reflex vertex)
310 // we should only be making left-hand turns (for cw polygons, we use the winding
345 // get winding direction
346 int winding = SkGetPolygonWinding(inputPolygonVerts, inputPolygonSize);
347 if (0 == winding) {
361 inputPolygonVerts[next])*winding < 0) {
366 perp.setLength(inset*winding);
415 int side = winding*compute_side(currEdge->fOffset.fP0,
419 side == winding*compute_side(currEdge->fOffset.fP0,
1156 static bool is_reflex_vertex(const SkPoint* inputPolygonVerts, int winding, SkScalar offset,
1162 return (side*winding*offset < 0);
1198 // get winding direction
1199 int winding = SkGetPolygonWinding(inputPolygonVerts, inputPolygonSize);
1200 if (0 == winding) {
1215 offset, winding, &normals[currIndex])) {
1220 if (is_reflex_vertex(inputPolygonVerts, winding, offset,
1234 if (is_reflex_vertex(inputPolygonVerts, winding, offset, inputPolygonSize-1, 0, 1)) {
1259 if (is_reflex_vertex(inputPolygonVerts, winding, offset,
1433 // check winding of offset polygon (it should be same as the original polygon)
1436 return (winding*offsetWinding > 0 &&
1588 int winding, ReflexHash* reflexHash,
1593 if (winding*v0.cross(v1) > SK_ScalarNearlyZero*SK_ScalarNearlyZero) {
1617 // get winding direction
1620 int winding = SkGetPolygonWinding(polygonVerts, polygonSize);
1621 if (0 == winding) {
1638 if (winding*v0.cross(v1) > SK_ScalarNearlyZero*SK_ScalarNearlyZero) {
1727 reclassify_vertex(p0, polygonVerts, winding, &reflexHash, &convexList);
1730 reclassify_vertex(p2, polygonVerts, winding, &reflexHash, &convexList);