Lines Matching defs:step
723 static void adjustStepToDecorationLength(float& step, float& controlPointDistance, float length)
725 ASSERT(step > 0);
730 unsigned stepCount = static_cast<unsigned>(length / step);
735 float uncoveredLength = length - (stepCount * step - (stepCount - 1));
737 step += adjustment;
746 * step
766 * step
785 float step = 2 * std::max<float>(2, strokeThickness);
804 adjustStepToDecorationLength(step, controlPointDistance, y2 - y1);
808 for (float y = y1; y + 2 * step <= y2;) {
809 controlPoint1.setY(y + step);
810 controlPoint2.setY(y + step);
811 y += 2 * step;
829 adjustStepToDecorationLength(step, controlPointDistance, x2 - x1);
833 for (float x = x1; x + 2 * step <= x2;) {
834 controlPoint1.setX(x + step);
835 controlPoint2.setX(x + step);
836 x += 2 * step;