Lines Matching refs:float2
40 Shape(float2 p0, float2 p1) { this->setLine(p0, p1); }
87 bool conservativeContains(float2 point) const;
105 float2 p0() const { SkASSERT(this->isLine()); return fRect.topLeft(); }
106 float2 p1() const { SkASSERT(this->isLine()); return fRect.botRight(); }
117 this->setLine(float2{p0.fX, p0.fY}, float2{p1.fX, p1.fY});
120 this->setLine(float2{p0.x, p0.y}, float2{p1.x, p1.y});
122 void setLine(float2 p0, float2 p1) {