• Home
  • Raw
  • Download

Lines Matching refs:inset

269     devInside->inset(rx, ry);  in compute_aa_rects()
291 devOutside->inset(0, ry); in compute_aa_rects()
623 static void setup_scale(int* scale, SkScalar inset) { in setup_scale() argument
624 if (inset < SK_ScalarHalf) { in setup_scale()
625 *scale = SkScalarFloorToInt(512.0f * inset / (inset + SK_ScalarHalf)); in setup_scale()
646 SkScalar inset; in generateAAStrokeRectGeometry() local
648 inset = SkMinScalar(SK_Scalar1, devOutside.fRight - devInside.fRight); in generateAAStrokeRectGeometry()
649 inset = SkMinScalar(inset, devInside.fLeft - devOutside.fLeft); in generateAAStrokeRectGeometry()
650 inset = SkMinScalar(inset, devInside.fTop - devOutside.fTop); in generateAAStrokeRectGeometry()
652 inset = SK_ScalarHalf * SkMinScalar(inset, devOutside.fBottom - devInside.fBottom); in generateAAStrokeRectGeometry()
654 inset = SK_ScalarHalf * in generateAAStrokeRectGeometry()
655 SkMinScalar(inset, devOutsideAssist.fBottom - devInside.fBottom); in generateAAStrokeRectGeometry()
657 SkASSERT(inset >= 0); in generateAAStrokeRectGeometry()
660 inset = SkMinScalar(devOutside.width(), SK_Scalar1); in generateAAStrokeRectGeometry()
661 inset = SK_ScalarHalf * in generateAAStrokeRectGeometry()
662 SkMinScalar(inset, SkTMax(devOutside.height(), devOutsideAssist.height())); in generateAAStrokeRectGeometry()
689 setup_scale(&scale, inset); in generateAAStrokeRectGeometry()
696 vertices.writeQuad(inset_fan(devOutside, inset, inset), in generateAAStrokeRectGeometry()
702 vertices.writeQuad(inset_fan(devOutsideAssist, inset, inset), in generateAAStrokeRectGeometry()
708 vertices.writeQuad(inset_fan(devInside, -inset, -inset), in generateAAStrokeRectGeometry()