Lines Matching refs:SkIPoint

5 #Struct SkIPoint
11 SkIPoint holds two 32-bit integer coordinates.
25 #Method static constexpr SkIPoint Make(int32_t x, int32_t y)
32 SkIPoint pt1 = {45, 66};
33 SkIPoint pt2 = SkIPoint::Make(45, 66);
57 SkIPoint pt1 = {45, 66};
76 SkIPoint pt1 = {45, 66};
95 SkIPoint pt = { 0, -0};
118 SkIPoint pt1, pt2 = { SK_MinS32, SK_MaxS32 };
132 #Method SkIPoint operator-() const
138 SkIPoint test[] = { {0, -0}, {-1, -2},
141 for (const SkIPoint& pt : test) {
142 SkIPoint negPt = -pt;
153 #SeeAlso operator-(const SkIPoint& a, const SkIPoint& b) operator-=(const SkIVector& v) SkPoint::op…
168 auto draw_lines = [=](const SkIPoint pts[], size_t count, SkPaint& paint) -> void {
176 SkIPoint points[] = { { 3, 1 }, { 4, 2 }, { 5, 1 }, { 7, 3 } };
188 #SeeAlso operator+(const SkIPoint& a, const SkIVector& b) SkPoint::operator+=(const SkVector& v)
203 auto draw_lines = [=](const SkIPoint pts[], size_t count, SkPaint& paint) -> void {
211 SkIPoint points[] = { { 3, 1 }, { 4, 2 }, { 5, 1 }, { 7, 3 } };
223 #SeeAlso operator-(const SkIPoint& a, const SkIPoint& b) SkPoint::operator-=(const SkVector& v)
235 SkIPoint test[] = { {0, -0}, {-1, -2}, {SK_MaxS32, -1}, {SK_NaN32, -1} };
236 for (const SkIPoint& pt : test) {
247 #SeeAlso operator==(const SkIPoint& a, const SkIPoint& b)
253 #Method bool operator==(const SkIPoint& a, const SkIPoint& b)
259 SkIPoint test[] = { {0, -0}, {-1, -2}, {SK_MaxS32, -1}, {SK_NaN32, -1} };
260 for (const SkIPoint& pt : test) {
271 #SeeAlso equals() operator!=(const SkIPoint& a, const SkIPoint& b)
277 #Method bool operator!=(const SkIPoint& a, const SkIPoint& b)
283 SkIPoint test[] = { {0, -0}, {-1, -2}, {SK_MaxS32, -1}, {SK_NaN32, -1} };
284 for (const SkIPoint& pt : test) {
295 #SeeAlso operator==(const SkIPoint& a, const SkIPoint& b) equals()
301 #Method SkIVector operator-(const SkIPoint& a, const SkIPoint& b)
315 auto draw_lines = [=](const SkIPoint pts[], size_t count, SkPaint& paint) -> void {
323 SkIPoint points[] = { { 3, 1 }, { 4, 2 }, { 5, 1 }, { 7, 3 } };
341 #Method SkIPoint operator+(const SkIPoint& a, const SkIVector& b)
357 auto draw_lines = [=](const SkIPoint pts[], size_t count, SkPaint& paint) -> void {
365 SkIPoint points[] = { { 3, 1 }, { 4, 2 }, { 5, 1 }, { 7, 3 } };
371 SkIPoint mod = {4, 1};
385 #Struct SkIPoint ##
392 #Typedef SkIPoint SkIVector
395 typedef SkIPoint SkIVector;
397 SkIVector provides an alternative name for SkIPoint. SkIVector and SkIPoint