Lines Matching refs:SkFDot6
11 #include "SkFDot6.h"
26 static inline SkFixed SkFDot6ToFixedDiv2(SkFDot6 value) {
36 SkFDot6 x0, y0, x1, y1;
150 static inline SkFDot6 cheap_distance(SkFDot6 dx, SkFDot6 dy)
162 static inline int diff_to_shift(SkFDot6 dx, SkFDot6 dy)
165 SkFDot6 dist = cheap_distance(dx, dy);
179 SkFDot6 x0, y0, x1, y1, x2, y2;
219 SkFDot6 dx = ((x1 << 1) - x0 - x2) >> 2;
220 SkFDot6 dy = ((y1 << 1) - y0 - y2) >> 2;
316 static inline int SkFDot6UpShift(SkFDot6 x, int upShift) {
329 static SkFDot6 cubic_delta_from_line(SkFDot6 a, SkFDot6 b, SkFDot6 c, SkFDot6 d)
331 SkFDot6 oneThird = ((a << 3) - ((b << 4) - b) + 6*c + d) * 19 >> 9;
332 SkFDot6 twoThird = (a + 6*b - ((c << 4) - c) + (d << 3)) * 19 >> 9;
339 SkFDot6 x0, y0, x1, y1, x2, y2, x3, y3;
391 SkFDot6 dx = cubic_delta_from_line(x0, x1, x2, x3);
392 SkFDot6 dy = cubic_delta_from_line(y0, y1, y2, y3);