Lines Matching refs:slope
100 virtual SkFixed drawCap(int x, SkFixed fy, SkFixed slope, int mod64) = 0;
101 virtual SkFixed drawLine(int x, int stopx, SkFixed fy, SkFixed slope) = 0;
109 virtual SkFixed drawCap(int x, SkFixed fy, SkFixed slope, int mod64) SK_OVERRIDE {
131 SkFixed slope) SK_OVERRIDE {
405 SkFixed fstart, slope;
423 slope = 0;
426 slope = fastfixdiv(y1 - y0, x1 - x0);
427 SkASSERT(slope >= -SK_Fixed1 && slope <= SK_Fixed1);
428 fstart += (slope * (32 - (x0 & 63)) + 32) >> 6;
448 fstart += slope * (clip->fLeft - istart);
468 if (slope >= 0) { // T2B
470 bottom = SkFixedCeilToInt(fstart + (istop - istart - 1) * slope + SK_FixedHalf);
473 top = SkFixedFloorToInt(fstart + (istop - istart - 1) * slope - SK_FixedHalf);
499 slope = 0;
502 slope = fastfixdiv(x1 - x0, y1 - y0);
503 SkASSERT(slope <= SK_Fixed1 && slope >= -SK_Fixed1);
504 fstart += (slope * (32 - (y0 & 63)) + 32) >> 6;
524 fstart += slope * (clip->fTop - istart);
544 if (slope >= 0) { // L2R
546 right = SkFixedCeilToInt(fstart + (istop - istart - 1) * slope + SK_FixedHalf);
549 left = SkFixedFloorToInt(fstart + (istop - istart - 1) * slope - SK_FixedHalf);
580 fstart = hairBlitter->drawCap(istart, fstart, slope, scaleStart);
584 fstart = hairBlitter->drawLine(istart, istart + fullSpans, fstart, slope);
587 hairBlitter->drawCap(istop - 1, fstart, slope, scaleStop);