Lines Matching defs:out
339 void Rotate(const Vector2<int16_t>& point, int16_t angle, const Vector2<int16_t>& pivot, Vector2<int16_t>& out)
349 out.x_ = static_cast<int16_t>((temp > 0) ? (temp + 0.5f) : (temp - 0.5f)) + pivot.x_;
351 out.y_ = static_cast<int16_t>((temp > 0) ? (temp + 0.5f) : (temp - 0.5f)) + pivot.y_;
354 void Rotate(const Line& origLine, int16_t angle, const Vector2<int16_t>& pivot, Line& out)
359 Rotate(pt1, angle, pivot, out[1]); // 1: the first point of line
360 Rotate(pt2, angle, pivot, out[2]); // 2: the second point of line
363 void Rotate(const Rect& origRect, int16_t angle, const Vector2<int16_t>& pivot, Polygon& out)
370 Rotate(pt1, angle, pivot, out[1]); // 1: the first point
371 Rotate(pt2, angle, pivot, out[2]); // 2: the second point
372 Rotate(pt3, angle, pivot, out[3]); // 3: the third point
373 Rotate(pt4, angle, pivot, out[4]); // 4: the fourth point
375 out.SetVertexNum(4); // 4: number of vertex