Lines Matching defs:inset
308 // The objective here is to inset all of the edges by the given distance, and then
309 // remove any invalid inset edges by detecting right-hand turns. In a ccw polygon,
314 // We might also have the case that there is no intersection between two neighboring inset edges.
321 SkScalar inset, SkTDArray<SkPoint>* insetPolygon) {
332 // can't inset by a negative or non-finite amount
333 if (inset < -SK_ScalarNearlyZero || !SkScalarIsFinite(inset)) {
338 if (inset <= SK_ScalarNearlyZero) {
366 perp.setLength(inset*winding);
391 // if new intersection is further back on previous inset from the prior intersection
1181 // can't inset more than the half bounds of the polygon
1329 // if new intersection is further back on previous inset from the prior intersection