Home | History | Annotate | Download | only in core

Lines Matching refs:p0

34 int SkEdge::setLine(const SkPoint& p0, const SkPoint& p1, const SkIRect* clip,
41 x0 = int(p0.fX * scale);
42 y0 = int(p0.fY * scale);
47 x0 = p0.fX >> shift;
48 y0 = p0.fY >> shift;
164 // cheap calc of distance from center of p0-p2 to the center of the curve
239 * p0 (1 - t)^2 + p1 t(1 - t) + p2 t^2 ==> At^2 + Bt + C
241 * A = p0 - 2p1 + p2
242 * B = 2(p1 - p0)
243 * C = p0
245 * Our caller must have constrained our inputs (p0..p2) to all fit into
247 * larger (e.g. B = 2*(p1 - p0)). To guard against overflow, we will store